Added a TODO: in the syntax checker to check for common VCS conflict markers.

Thu, 05 Jun 2014 10:22:38 +0200

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Thu, 05 Jun 2014 10:22:38 +0200
changeset 3630
e32c3cec5d7e
parent 3629
98e90f613114
child 3631
2f5169646a4a

Added a TODO: in the syntax checker to check for common VCS conflict markers.

Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py file | annotate | diff | comparison | revisions
--- a/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py	Thu Jun 05 10:16:05 2014 +0200
+++ b/Plugins/CheckerPlugins/SyntaxChecker/SyntaxCheck.py	Thu Jun 05 10:22:38 2014 +0200
@@ -103,6 +103,9 @@
         # unicode string' exception on Python2
         codestring = normalizeCode(codestring)
         
+        # TODO: check for lines starting with VCS conflict markers
+        #       (7 * c for c in "<>=|") and report as 'error' like syntax check
+        
         if filename.endswith('.ptl'):
             try:
                 import quixote.ptl_compile

eric ide

mercurial