Updated the machine name and alphtype in atoi3 to reflect the fact that it is a
ruby test.
git-svn-id: http://svn.complang.org/ragel/trunk@102
052ea7fc-9027-0410-9066-
f65837a77df0
{
START_ARRAY_LINE();
int totalActions = 0;
- ARRAY_ITEM( 0, ++totalActions, false );
+ ARRAY_ITEM( INT(0), ++totalActions, false );
for ( ActionTableMap::Iter act = redFsm->actionMap; act.lte(); act++ ) {
/* Write out the length, which will never be the last character. */
ARRAY_ITEM( INT(act->key.length()), ++totalActions, false );
val = 0
%%{
- machine atoi1_java;
- alphtype byte;
+ machine atoi3;
action begin {
neg = false;
val = 0;
%% write init;
%% write exec;
%% write eof;
- if cs >= atoi1_java_first_final
+ if cs >= atoi3_first_final
puts "ACCEPT"
else
puts "FAIL"