It makes more sense to print the directive name with the preceding '#'.
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
const char *type, int condition)
{
if (parser->skip_stack == NULL) {
- glcpp_error (loc, parser, "%s without #if\n", type);
+ glcpp_error (loc, parser, "#%s without #if\n", type);
return;
}
-0:1(2): preprocessor error: else without #if
+0:1(2): preprocessor error: #else without #if
-0:1(2): preprocessor error: elif without #if
+0:1(2): preprocessor error: #elif without #if