commit | 739ba06680c762ff0a2e93027fefe0ab84ab6adc | [log] [tgz] |
---|---|---|
author | Kenneth Graunke <kenneth@whitecape.org> | Wed Jun 16 12:41:37 2010 -0700 |
committer | Kenneth Graunke <kenneth@whitecape.org> | Mon Jun 21 11:31:55 2010 -0700 |
tree | e719556a2fab710c4c17fa130e52e734b21e693b | |
parent | 3b73ea36c4bda1353aa0315234233fc6fd6a28bd [diff] [blame] |
glcpp: Complain about unrecognized directives.
diff --git a/glcpp/glcpp-parse.y b/glcpp/glcpp-parse.y index f9fab8b..fde9b92 100644 --- a/glcpp/glcpp-parse.y +++ b/glcpp/glcpp-parse.y
@@ -360,7 +360,9 @@ ; non_directive: - pp_tokens NEWLINE + pp_tokens NEWLINE { + yyerror (parser, "Invalid tokens after #"); + } ; replacement_list: