Title: [201642] trunk/Tools
Revision
201642
Author
youenn.fab...@crf.canon.fr
Date
2016-06-03 08:40:40 -0700 (Fri, 03 Jun 2016)

Log Message

[GTK] Update YouCompleteMe script to make all include paths absolute
https://bugs.webkit.org/show_bug.cgi?id=158301

Reviewed by Michael Catanzaro.

Before this patch, some include paths were not made absolute.
This could make YouCompleteMe plugin to fail extracting information or validating cpp files.

* gtk/ycm_extra_conf.py:

Modified Paths

Diff

Modified: trunk/Tools/ChangeLog (201641 => 201642)


--- trunk/Tools/ChangeLog	2016-06-03 14:53:16 UTC (rev 201641)
+++ trunk/Tools/ChangeLog	2016-06-03 15:40:40 UTC (rev 201642)
@@ -1,3 +1,15 @@
+2016-06-03  Youenn Fablet  <youenn.fab...@crf.canon.fr>
+
+        [GTK] Update YouCompleteMe script to make all include paths absolute
+        https://bugs.webkit.org/show_bug.cgi?id=158301
+
+        Reviewed by Michael Catanzaro.
+
+        Before this patch, some include paths were not made absolute.
+        This could make YouCompleteMe plugin to fail extracting information or validating cpp files.
+
+        * gtk/ycm_extra_conf.py:
+
 2016-06-03  Nael Ouedraogo  <nael.ouedra...@crf.canon.fr>
 
         Unreviewed: add myself to the committers list.

Modified: trunk/Tools/gtk/ycm_extra_conf.py (201641 => 201642)


--- trunk/Tools/gtk/ycm_extra_conf.py	2016-06-03 14:53:16 UTC (rev 201641)
+++ trunk/Tools/gtk/ycm_extra_conf.py	2016-06-03 15:40:40 UTC (rev 201642)
@@ -47,8 +47,7 @@
         elif argument in FLAGS_PRECEDING_PATHS:
             # Some flags precede the path in the list. For those we make the
             # next argument absolute.
-            if argument == flag:
-                make_next_absolute = True
+            make_next_absolute = True
         else:
             # Some argument contain the flag and the path together. For these
             # we parse the argument out of the path.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to