diff options
Diffstat (limited to 'test/AS/ASFLAGS.py')
-rw-r--r-- | test/AS/ASFLAGS.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/test/AS/ASFLAGS.py b/test/AS/ASFLAGS.py index 4f89c2c..024cea3 100644 --- a/test/AS/ASFLAGS.py +++ b/test/AS/ASFLAGS.py @@ -45,7 +45,11 @@ import sys args = sys.argv[1:] while args: a = args[0] - if a[0] != '/': + if a == '-o': + out = args[1] + args = args[2:] + continue + if not a[0] in '/-': break args = args[1:] if a[:5].lower() == '/out:': out = a[5:] @@ -64,6 +68,10 @@ inf = None optstring = '' while args: a = args[0] + if a == '-o': + out = args[1] + args = args[2:] + continue args = args[1:] if not a[0] in '/-': if not inf: |