Skip to content

Commit

Permalink
[docs] [tblgen] clarify that code fragments are just string literals
Browse files Browse the repository at this point in the history
Fun fact: looking at the TableGen code (around TGParser.cpp:1166), the
only difference in handling is that adjacent regular string literals are
concatenated in the parser.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201035 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
chisophugis committed Feb 9, 2014
1 parent 7048c05 commit 81756b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/TableGenFundamentals.rst
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ supported include:
string value

``[{ ... }]``
code fragment
usually called a "code fragment", but is just a multiline string literal

``[ X, Y, Z ]<type>``
list value. <type> is the type of the list element and is usually optional.
Expand Down

0 comments on commit 81756b9

Please sign in to comment.