[cfe-commits] r63903 - /cfe/trunk/tools/ccc/ccclib/Arguments.py

Daniel Dunbar daniel at zuster.org
Thu Feb 5 17:28:59 PST 2009


Author: ddunbar
Date: Thu Feb  5 19:28:59 2009
New Revision: 63903

URL: http://llvm.org/viewvc/llvm-project?rev=63903&view=rev
Log:
ccc: Give explicit error on @ style argument lists (not yet supported).

Modified:
    cfe/trunk/tools/ccc/ccclib/Arguments.py

Modified: cfe/trunk/tools/ccc/ccclib/Arguments.py
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/tools/ccc/ccclib/Arguments.py?rev=63903&r1=63902&r2=63903&view=diff

==============================================================================
--- cfe/trunk/tools/ccc/ccclib/Arguments.py (original)
+++ cfe/trunk/tools/ccc/ccclib/Arguments.py Thu Feb  5 19:28:59 2009
@@ -1110,7 +1110,6 @@
         args = ArgList(self, argv)
         for pos,a in it:
             i = InputIndex(0, pos)
-            # FIXME: Handle '@'
             if not a: 
                 # gcc's handling of empty arguments doesn't make
                 # sense, but this is not a common use case. :)
@@ -1118,6 +1117,9 @@
                 # We just ignore them here (note that other things may
                 # still take them as arguments).
                 pass
+            elif a[0] == '@':
+                # FIXME: Handle '@'
+                raise InvalidArgumentsError('@ style argument lists are unsupported')
             elif a[0] == '-' and a != '-':
                 args.append(self.lookupOptForArg(i, a, it))
             else:





More information about the cfe-commits mailing list