eric6/Utilities/ClassBrowsers/protoclbr.py

changeset 7676
0f67b4562d98
parent 7628
f904d0eef264
child 7685
0b6e8c0d6403
--- a/eric6/Utilities/ClassBrowsers/protoclbr.py	Mon Aug 24 18:12:22 2020 +0200
+++ b/eric6/Utilities/ClassBrowsers/protoclbr.py	Tue Aug 25 14:53:43 2020 +0200
@@ -230,6 +230,8 @@
         # can't do anything with this module
         _modules[module] = dictionary
         return dictionary
+    # convert eol markers the Python style
+    src = src.replace("\r\n", "\n").replace("\r", "\n")
 
     lineno, last_lineno_pos = 1, 0
     lastGlobalEntry = None

eric ide

mercurial