diff options
author | Steven Knight <knight@baldmt.com> | 2005-10-14 16:23:52 (GMT) |
---|---|---|
committer | Steven Knight <knight@baldmt.com> | 2005-10-14 16:23:52 (GMT) |
commit | af962864b108d8fdd654edaf3c0300404ca07e3e (patch) | |
tree | 3a6877e15644a6da25570af9ee7aade000983ad4 /test/YACC | |
parent | 82c2f16e53cba1a639d568fe8d6780dfe30c56ab (diff) | |
download | SCons-af962864b108d8fdd654edaf3c0300404ca07e3e.zip SCons-af962864b108d8fdd654edaf3c0300404ca07e3e.tar.gz SCons-af962864b108d8fdd654edaf3c0300404ca07e3e.tar.bz2 |
Get rid of indentation tabs in the test scripts and have runtest.py invoke them with the python -tt option to keep them out.
Diffstat (limited to 'test/YACC')
-rw-r--r-- | test/YACC/YACC.py | 18 | ||||
-rw-r--r-- | test/YACC/YACCFLAGS.py | 10 |
2 files changed, 14 insertions, 14 deletions
diff --git a/test/YACC/YACC.py b/test/YACC/YACC.py index 062e4bc..9be1934 100644 --- a/test/YACC/YACC.py +++ b/test/YACC/YACC.py @@ -73,10 +73,10 @@ test.write('aaa.y', r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("YACC\n"); - printf("aaa.y\n"); - exit (0); + argv[argc++] = "--"; + printf("YACC\n"); + printf("aaa.y\n"); + exit (0); } """) @@ -84,10 +84,10 @@ test.write('bbb.yacc', r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("YACC\n"); - printf("bbb.yacc\n"); - exit (0); + argv[argc++] = "--"; + printf("YACC\n"); + printf("bbb.yacc\n"); + exit (0); } """) @@ -146,7 +146,7 @@ yylex() } %%} %%%% -input: letter newline { printf("%s\n"); }; +input: letter newline { printf("%s\n"); }; letter: 'a' | 'b'; newline: '\n'; """ diff --git a/test/YACC/YACCFLAGS.py b/test/YACC/YACCFLAGS.py index 022b238..2779597 100644 --- a/test/YACC/YACCFLAGS.py +++ b/test/YACC/YACCFLAGS.py @@ -70,10 +70,10 @@ test.write('aaa.y', r""" int main(int argc, char *argv[]) { - argv[argc++] = "--"; - printf("YACCFLAGS\n"); - printf("aaa.y\n"); - exit (0); + argv[argc++] = "--"; + printf("YACCFLAGS\n"); + printf("aaa.y\n"); + exit (0); } """) @@ -119,7 +119,7 @@ yylex() } %%} %%%% -input: letter newline { printf("%s\n"); }; +input: letter newline { printf("%s\n"); }; letter: 'a' | 'b'; newline: '\n'; """ |