projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3d303eb
)
Make the standalone parser return an exit code so we can automate testing.
author
Eric Anholt
<eric@anholt.net>
Thu, 25 Mar 2010 21:37:25 +0000
(14:37 -0700)
committer
Eric Anholt
<eric@anholt.net>
Thu, 25 Mar 2010 21:37:25 +0000
(14:37 -0700)
glsl_parser_extras.cpp
patch
|
blob
|
history
diff --git
a/glsl_parser_extras.cpp
b/glsl_parser_extras.cpp
index b774d8b5f4ec8e44934c09a6fdd8a1b9fbbd07fc..a02865887fcf7f74897957721fd7697cbfb80852 100644
(file)
--- a/
glsl_parser_extras.cpp
+++ b/
glsl_parser_extras.cpp
@@
-657,5
+657,5
@@
main(int argc, char **argv)
delete state.symbols;
- return 0;
+ return
state.error !=
0;
}