glcpp: Complain about unrecognized directives.

This commit is contained in:
Kenneth Graunke
2010-06-16 12:41:37 -07:00
parent 3b73ea36c4
commit 739ba06680

View File

@@ -360,7 +360,9 @@ text_line:
; ;
non_directive: non_directive:
pp_tokens NEWLINE pp_tokens NEWLINE {
yyerror (parser, "Invalid tokens after #");
}
; ;
replacement_list: replacement_list: