From: thurston Date: Mon, 22 Jan 2007 17:14:08 +0000 (+0000) Subject: The range keyword was not functional in 5.16. Wait for after 5.17 to add it. X-Git-Tag: 2.0_alpha~479 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=55c936161f10ece1a1f184c7d33d31a3bd00c95c;p=external%2Fragel.git The range keyword was not functional in 5.16. Wait for after 5.17 to add it. git-svn-id: http://svn.complang.org/ragel/trunk@6 052ea7fc-9027-0410-9066-f65837a77df0 --- diff --git a/ragel.vim b/ragel.vim index 4fc9c5b..acb5b47 100644 --- 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 diff --git a/ragel/rlscan.rl b/ragel/rlscan.rl index b1396f1..226bbc7 100644 --- a/ragel/rlscan.rl +++ b/ragel/rlscan.rl @@ -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;