mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 03:15:11 +00:00
Bug 797794 - Preprocessor.py -Fslashslash does'nt work. r=ted
This commit is contained in:
parent
fe6567581a
commit
33ebcc73d6
@ -382,6 +382,8 @@ class Preprocessor:
|
||||
# slashslash
|
||||
# Strips everything after //
|
||||
def filter_slashslash(self, aLine):
|
||||
if (aLine.find('//') == -1):
|
||||
return aLine
|
||||
[aLine, rest] = aLine.split('//', 1)
|
||||
if rest:
|
||||
aLine += '\n'
|
||||
|
Loading…
Reference in New Issue
Block a user