Moved cases around.
authorthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Wed, 20 Jun 2007 23:43:04 +0000 (23:43 +0000)
committerthurston <thurston@052ea7fc-9027-0410-9066-f65837a77df0>
Wed, 20 Jun 2007 23:43:04 +0000 (23:43 +0000)
git-svn-id: http://svn.complang.org/ragel/trunk@254 052ea7fc-9027-0410-9066-f65837a77df0

ragel/parsedata.cpp

index f8e1747..c860fef 100644 (file)
@@ -874,6 +874,8 @@ bool ParseData::setVariable( char *var, InlineList *inlineList )
                peExpr = inlineList;
        else if ( strcmp( var, "cs" ) == 0 )
                csExpr = inlineList;
+       else if ( strcmp( var, "data" ) == 0 )
+               dataExpr = inlineList;
        else if ( strcmp( var, "top" ) == 0 )
                topExpr = inlineList;
        else if ( strcmp( var, "stack" ) == 0 )
@@ -884,8 +886,6 @@ bool ParseData::setVariable( char *var, InlineList *inlineList )
                tokstartExpr = inlineList;
        else if ( strcmp( var, "tokend" ) == 0 )
                tokendExpr = inlineList;
-       else if ( strcmp( var, "data" ) == 0 )
-               dataExpr = inlineList;
        else
                set = false;