From: Misha Brukman Date: Mon, 11 Aug 2003 19:14:20 +0000 (+0000) Subject: Added keyword `include', and a FIXME for hex and binary constants. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=dac35491910c7524eba5a81bacda4a53dd31f110;p=oota-llvm.git Added keyword `include', and a FIXME for hex and binary constants. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7740 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/utils/vim/tablegen.vim b/utils/vim/tablegen.vim index 41a0c591344..7ab8e2c021f 100644 --- a/utils/vim/tablegen.vim +++ b/utils/vim/tablegen.vim @@ -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 /\/\/.*$/