In the port from flex to ragel, the Name separator :: in Ragel code was lost.
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sun, 11 Mar 2007 23:26:51 +0000 (23:26 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Sun, 11 Mar 2007 23:26:51 +0000 (23:26 +0000)
Added it back.

git-svn-id: http://svn.complang.org/ragel/trunk@135 052ea7fc-9027-0410-9066-f65837a77df0

ragel/rlscan.rl

index 36f628b..f19536a 100644 (file)
@@ -759,6 +759,9 @@ void Scanner::endSection( )
                # Opening of longest match.
                "|*" => { token( TK_BarStar ); };
 
+               # Separater for name references.
+               "::" => { token( TK_NameSep, tokstart, tokend ); };
+
                '}%%' => { 
                        updateCol();
                        endSection();