aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorSean Silva <silvas@purdue.edu>2013-01-09 02:20:30 +0000
committerSean Silva <silvas@purdue.edu>2013-01-09 02:20:30 +0000
commit104f2b5e9180d078b85014d7d8850d869f3f1ec1 (patch)
tree31bba0d86821bf2eb76c7a40f10924c8837b701c /docs
parentd155ffc03fd744c8b1c67b0a913c55d6e42044c8 (diff)
TableGen/LangRef: discuss specific C-like escapes
Suggested by Joel Jones. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171941 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'docs')
-rw-r--r--docs/TableGen/LangRef.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/TableGen/LangRef.rst b/docs/TableGen/LangRef.rst
index 4281998734..506d2077a6 100644
--- a/docs/TableGen/LangRef.rst
+++ b/docs/TableGen/LangRef.rst
@@ -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