diff options
Diffstat (limited to 'ragel/gendata.cc')
-rw-r--r-- | ragel/gendata.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ragel/gendata.cc b/ragel/gendata.cc index 938a1250..3af4e1cc 100644 --- a/ragel/gendata.cc +++ b/ragel/gendata.cc @@ -109,6 +109,7 @@ void genLineDirective( ostream &out ) CodeGenData::CodeGenData( const CodeGenArgs &args ) : + ReducedGen(args), sourceFileName(args.sourceFileName), fsmName(args.fsmName), out(args.out), @@ -141,7 +142,9 @@ CodeGenData::CodeGenData( const CodeGenArgs &args ) noFinal(false), noError(false), noCS(false) -{} +{ + ReducedGen::cgd = this; +} void CodeGenData::createMachine() { |