[docs] [tblgen] clarify that code fragments are just string literals
authorSean Silva <silvas@purdue.edu>
Sun, 9 Feb 2014 02:54:26 +0000 (02:54 +0000)
committerSean Silva <silvas@purdue.edu>
Sun, 9 Feb 2014 02:54:26 +0000 (02:54 +0000)
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

docs/TableGenFundamentals.rst

index 5d529c396accb1a9608a785ed7728a77b499f198..8f3d07c39210c9686b148e5989d2c86b51aa3004 100644 (file)
@@ -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.