util/qlalr/cppgenerator.cpp
changeset 23 89e065397ea6
parent 18 2f34d5167611
equal deleted inserted replaced
22:79de32ba3296 23:89e065397ea6
   353       out << "// This file was generated by qlalr - DO NOT EDIT!\n";
   353       out << "// This file was generated by qlalr - DO NOT EDIT!\n";
   354 
   354 
   355       out << startIncludeGuard(grammar.merged_output) << endl;
   355       out << startIncludeGuard(grammar.merged_output) << endl;
   356 
   356 
   357       if (copyright) {
   357       if (copyright) {
   358           out << "#if defined(Q_OS_VXWORKS) && defined(ERROR)" << endl
   358           out << "#if defined(ERROR)" << endl
   359               << "#  undef ERROR" << endl
   359               << "#  undef ERROR" << endl
   360               << "#endif" << endl << endl;
   360               << "#endif" << endl << endl;
   361       }
   361       }
   362 
   362 
   363       generateDecl (out);
   363       generateDecl (out);