[gnome-code-assistance] [backends/c] -f and -W flags can only appear in composite form



commit 984c4fd790d0ecafa9e49f27b99a207be8ed1263
Author: Jesse van den Kieboom <jessevdk gmail com>
Date:   Fri Nov 8 13:02:41 2013 +0100

    [backends/c] -f and -W flags can only appear in composite form

 backends/c/makefileintegration.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/backends/c/makefileintegration.py b/backends/c/makefileintegration.py
index 77a581b..0c18306 100644
--- a/backends/c/makefileintegration.py
+++ b/backends/c/makefileintegration.py
@@ -286,7 +286,7 @@ class MakefileIntegration:
                 ret.append(flag)
 
                 # Also add the argument if its not embedded
-                if len(flag) == 2 and i < len(flags):
+                if v == 'D' and len(flag) == 2 and i < len(flags):
                     ret.append(flags[i])
                     i += 1
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]