Write %%init code to lex.yy.cpp
| 2325 | |
| 2326 | /// Write %%init code to lex.yy.cpp |
| 2327 | void Reflex::write_section_init() |
| 2328 | { |
| 2329 | *out << " {\n"; |
| 2330 | if (!section_init.empty()) |
| 2331 | write_code(section_init); |
| 2332 | if (!options["debug"].empty()) |
| 2333 | *out << " set_debug(" << options["debug"] << ");\n"; |
| 2334 | if (!options["perf_report"].empty()) |
| 2335 | *out << " set_perf_report();\n"; |
| 2336 | *out << " }\n"; |
| 2337 | } |
| 2338 | |
| 2339 | /// Write %%begin code to lex.yy.cpp |
| 2340 | void Reflex::write_section_begin() |