notaz.gp2x.de
/
picodrive.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
svp hack, as nonacc mode is gone
[picodrive.git]
/
tools
/
textfilter.c
diff --git
a/tools/textfilter.c
b/tools/textfilter.c
index
7a58e80
..
212555b
100644
(file)
--- a/
tools/textfilter.c
+++ b/
tools/textfilter.c
@@
-85,6
+85,10
@@
int main(int argc, char *argv[])
if ( check_defines((void *) &argv[3], argc-3, buff + 7)) skip_mode = 1;
ifdef_level++;
}
+ else if (strncmp(buff, "#else", 5) == 0)
+ {
+ skip_mode ^= 1;
+ }
else if (strncmp(buff, "#endif", 6) == 0)
{
ifdef_level--;