The range keyword was not functional in 5.16. Wait for after 5.17 to add it.
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Mon, 22 Jan 2007 17:14:08 +0000 (17:14 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Mon, 22 Jan 2007 17:14:08 +0000 (17:14 +0000)
git-svn-id: http://svn.complang.org/ragel/trunk@6 052ea7fc-9027-0410-9066-f65837a77df0

ragel.vim
ragel/rlscan.rl

index 4fc9c5b..acb5b47 100644 (file)
--- a/ragel.vim
+++ b/ragel.vim
@@ -96,7 +96,9 @@ syntax match rlOtherOps ":>>" contained
 syntax match rlOtherOps "<:" contained
 
 " Keywords
-syntax keyword rlKeywords machine action context include range contained
+" FIXME: Enable the range keyword post 5.17.
+" syntax keyword rlKeywords machine action context include range contained
+syntax keyword rlKeywords machine action context include contained
 syntax keyword rlExprKeywords when err lerr eof from to contained
 
 " Case Labels
index b1396f1..226bbc7 100644 (file)
@@ -644,7 +644,10 @@ void Scanner::endSection( )
                };
                'action' => { token( KW_Action ); };
                'alphtype' => { token( KW_AlphType ); };
-               'range' => { token( KW_Range ); };
+
+               # FIXME: Enable this post 5.17.
+               # 'range' => { token( KW_Range ); };
+
                'getkey' => { 
                        token( KW_GetKey );
                        inlineBlockType = SemiTerminated;