Added keyword `include', and a FIXME for hex and binary constants.
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 11 Aug 2003 19:14:20 +0000 (19:14 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 11 Aug 2003 19:14:20 +0000 (19:14 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7740 91177308-0d34-0410-b5e6-96231b3b80d8

utils/vim/tablegen.vim

index 41a0c591344f8bec3bdd3c252083d74d0d61acec..7ab8e2c021fcaf25ba8ef73b727f2592b9c15c23 100644 (file)
@@ -11,8 +11,9 @@ endif
 
 syn case match
 
-syn keyword tgKeyword   def let in code dag field
+syn keyword tgKeyword   def let in code dag field include
 syn keyword tgType      class int string list bit bits 
+" FIXME: this does not handle hex (0x...) or binary (0b...) constants
 syn match   tgNumber    /\<\d\+\>/
 syn match   tgNumber    /\<\d\+\.\d*\>/
 syn match   tgComment   /\/\/.*$/