5a3ba38
--- thunderbird-91.11.0/xpcom/idl-parser/xpidl/xpidl.py.python-inline-flags	2022-06-28 04:39:56.000000000 +0200
5a3ba38
+++ thunderbird-91.11.0/xpcom/idl-parser/xpidl/xpidl.py	2022-07-11 21:55:05.287553042 +0200
5a3ba38
@@ -1563,13 +1563,13 @@ class IDLParser(object):
5a3ba38
     t_ignore = " \t"
5a3ba38
 
5a3ba38
     def t_multilinecomment(self, t):
5a3ba38
-        r"/\*(?s).*?\*/"
5a3ba38
+        r"/\*(?s:.*?)\*/"
5a3ba38
         t.lexer.lineno += t.value.count("\n")
5a3ba38
         if t.value.startswith("/**"):
5a3ba38
             self._doccomments.append(t.value)
5a3ba38
 
5a3ba38
     def t_singlelinecomment(self, t):
5a3ba38
-        r"(?m)//.*?$"
5a3ba38
+        r"(?m://.*?$)"
5a3ba38
 
5a3ba38
     def t_IID(self, t):
5a3ba38
         return t
5a3ba38
@@ -1582,7 +1582,7 @@ class IDLParser(object):
5a3ba38
         return t
5a3ba38
 
5a3ba38
     def t_LCDATA(self, t):
5a3ba38
-        r"(?s)%\{[ ]*C\+\+[ ]*\n(?P<cdata>.*?\n?)%\}[ ]*(C\+\+)?"
5a3ba38
+        r"(?s:%\{[ ]*C\+\+[ ]*\n(?P<cdata>.*?\n?)%\}[ ]*(C\+\+)?)"
5a3ba38
         t.type = "CDATA"
5a3ba38
         t.value = t.lexer.lexmatch.group("cdata")
5a3ba38
         t.lexer.lineno += t.value.count("\n")