projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3b73ea3
)
glcpp: Complain about unrecognized directives.
author
Kenneth Graunke
<kenneth@whitecape.org>
Wed, 16 Jun 2010 19:41:37 +0000
(12:41 -0700)
committer
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 21 Jun 2010 18:31:55 +0000
(11:31 -0700)
glcpp/glcpp-parse.y
patch
|
blob
|
history
diff --git
a/glcpp/glcpp-parse.y
b/glcpp/glcpp-parse.y
index
f9fab8b
..
fde9b92
100644
(file)
--- a/
glcpp/glcpp-parse.y
+++ b/
glcpp/glcpp-parse.y
@@
-360,7
+360,9
@@
text_line:
;
non_directive:
- pp_tokens NEWLINE
+ pp_tokens NEWLINE {
+ yyerror (parser, "Invalid tokens after #");
+ }
;
replacement_list: