* Prints a debug message from the parser. * * @param fmt C format string followed by additional arguments */
| 252 | * @param fmt C format string followed by additional arguments |
| 253 | */ |
| 254 | void pdebug(const char* fmt, ...) { |
| 255 | if (g_debug == 0) { |
| 256 | return; |
| 257 | } |
| 258 | va_list args; |
| 259 | printf("[PARSE:%d] ", yylineno); |
| 260 | va_start(args, fmt); |
| 261 | vprintf(fmt, args); |
| 262 | va_end(args); |
| 263 | printf("\n"); |
| 264 | } |
| 265 | |
| 266 | /** |
| 267 | * Prints a verbose output mode message |
no outgoing calls
no test coverage detected