Line directives need to use the fileName stored in the InputLoc stuctures from
[external/ragel.git] / ragel / xmlcodegen.cpp
index 994fec7..9a9c388 100644 (file)
@@ -1027,8 +1027,7 @@ void BackendGen::makeAction( Action *action )
        GenInlineList *genList = new GenInlineList;
        makeGenInlineList( genList, action->inlineList );
 
-       cgd->newAction( curAction++, action->name, 
-                       action->loc.line, action->loc.col, genList );
+       cgd->newAction( curAction++, action->name, action->loc, genList );
 }