projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d896df
)
add -U option
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sat, 8 Dec 2007 08:44:13 +0000
(08:44 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Sat, 8 Dec 2007 08:44:13 +0000
(08:44 +0000)
[r18647]
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
1f16d01
..
15c6784
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-405,6
+405,10
@@
int main(int argc, char **argv)
const char *opt;
GET_ARG_AFTER(opt, "-D");
obstack_printf(&cppflags_obst, " -D%s", opt);
+ } else if(strncmp(arg, "-U", 2) == 0) {
+ const char *opt;
+ GET_ARG_AFTER(opt, "-U");
+ obstack_printf(&cppflags_obst, " -U%s", opt);
} else if(strcmp(arg, "--dump-function") == 0) {
++i;
if(i >= argc) {