projects
/
cparser
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c70d36e
)
Use SINGLE_OPTION macro.
author
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Fri, 14 Dec 2012 13:43:08 +0000
(14:43 +0100)
committer
Sebastian Buchwald
<Sebastian.Buchwald@kit.edu>
Thu, 20 Dec 2012 15:12:02 +0000
(16:12 +0100)
main.c
patch
|
blob
|
history
diff --git
a/main.c
b/main.c
index
a148611
..
a5ece71
100644
(file)
--- a/
main.c
+++ b/
main.c
@@
-1631,7
+1631,7
@@
int main(int argc, char **argv)
errorf(NULL, "unknown language '%s'", opt);
argument_errors = true;
}
- } else if (
streq(option, "M"
)) {
+ } else if (
SINGLE_OPTION('M'
)) {
mode = PreprocessOnly;
add_flag(&cppflags_obst, "-M");
} else if (streq(option, "MMD") ||