util/qlalr/cppgenerator.cpp
branchGCC_SURGE
changeset 31 5daf16870df6
parent 23 89e065397ea6
equal deleted inserted replaced
27:93b982ccede2 31:5daf16870df6
   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);