ragel language matches 5.16 exactly. Can revert these changes to the test to
make diffing against the 5.16 output easier. Will enable again in the future.
git-svn-id: http://svn.complang.org/ragel/trunk@15
052ea7fc-9027-0410-9066-
f65837a77df0
};
%%{
- machine range_fsm;
+ machine range;
variable curstate fsm->cs;
main := ( 'a' .. 'c' | 'c' .. 'e' | 'm' .. 'n' | 'a' .. 'z' ) '\n';
{
%% write eof;
- if ( fsm->cs == range_fsm_error )
+ if ( fsm->cs == range_error )
return -1;
- if ( fsm->cs >= range_fsm_first_final )
+ if ( fsm->cs >= range_first_final )
return 1;
return 0;
}