TableGen/LangRef: discuss specific C-like escapes
authorSean Silva <silvas@purdue.edu>
Wed, 9 Jan 2013 02:20:30 +0000 (02:20 +0000)
committerSean Silva <silvas@purdue.edu>
Wed, 9 Jan 2013 02:20:30 +0000 (02:20 +0000)
Suggested by Joel Jones.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171941 91177308-0d34-0410-b5e6-96231b3b80d8

docs/TableGen/LangRef.rst

index 42819987349a2fb8766f2ec48b50c2fac500e1ab..506d2077a633a9c759cf1a4732828ca4edcb662f 100644 (file)
@@ -74,6 +74,11 @@ TableGen also has two string-like literals:
    TokString: '"' <non-'"' characters and C-like escapes> '"'
    TokCodeFragment: "[{" <shortest text not containing "}]"> "}]"
 
+.. note::
+   The current implementation accepts the following C-like escapes::
+
+      \\ \' \" \t \n
+
 TableGen also has the following keywords::
 
    bit   bits      class   code         dag