Line directives need to use the fileName stored in the InputLoc stuctures from
[external/ragel.git] / ragel / gendata.h
index 3cdd407..4d21820 100644 (file)
@@ -131,7 +131,7 @@ struct CodeGenData
 
        void createMachine();
        void initActionList( unsigned long length );
-       void newAction( int anum, const char *name, int line, int col, GenInlineList *inlineList );
+       void newAction( int anum, const char *name, const InputLoc &loc, GenInlineList *inlineList );
        void initActionTableList( unsigned long length );
        void initStateList( unsigned long length );
        void setStartState( unsigned long startState );