2022-07-15 13:57:23 +00:00
|
|
|
diff -up firefox-102.0/xpcom/idl-parser/xpidl/xpidl.py.build-python-3.11 firefox-102.0/xpcom/idl-parser/xpidl/xpidl.py
|
|
|
|
--- firefox-102.0/xpcom/idl-parser/xpidl/xpidl.py.build-python-3.11 2022-06-23 09:10:31.000000000 +0200
|
|
|
|
+++ firefox-102.0/xpcom/idl-parser/xpidl/xpidl.py 2022-07-15 15:56:52.101296928 +0200
|
|
|
|
@@ -1572,13 +1572,13 @@ class IDLParser(object):
|
2022-07-15 12:46:05 +00:00
|
|
|
t_ignore = " \t"
|
|
|
|
|
|
|
|
def t_multilinecomment(self, t):
|
|
|
|
- r"/\*(?s).*?\*/"
|
|
|
|
+ r"/\*(?s:.)*?\*/"
|
|
|
|
t.lexer.lineno += t.value.count("\n")
|
|
|
|
if t.value.startswith("/**"):
|
|
|
|
self._doccomments.append(t.value)
|
2022-07-15 13:57:23 +00:00
|
|
|
|
|
|
|
def t_singlelinecomment(self, t):
|
|
|
|
- r"(?m)//.*?$"
|
|
|
|
+ r"(?m://.*?$)"
|
|
|
|
|
|
|
|
def t_IID(self, t):
|
|
|
|
return t
|