From 55c936161f10ece1a1f184c7d33d31a3bd00c95c Mon Sep 17 00:00:00 2001 From: thurston Date: Mon, 22 Jan 2007 17:14:08 +0000 Subject: [PATCH] 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 --- ragel.vim | 4 +++- ragel/rlscan.rl | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) 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; -- 2.7.4