style: fix E265 violations

E265: block comment should start with '# '

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
pull/1255/head
Igor Gnatenko 8 years ago committed by Jussi Pakkanen
parent f19bec34a9
commit ea570bcb67
  1. 4
      mesonbuild/backend/vs2010backend.py
  2. 2
      mesonbuild/compilers.py
  3. 18
      mesonbuild/scripts/depfixer.py
  4. 2
      run_project_tests.py
  5. 2
      tools/cmake2meson.py

@ -1070,5 +1070,5 @@ if %%errorlevel%% neq 0 goto :VCEnd'''
tree = ET.ElementTree(root)
tree.write(ofname, encoding='utf-8', xml_declaration=True)
# ElementTree can not do prettyprinting so do it manually
#doc = xml.dom.minidom.parse(ofname)
#open(ofname, 'w').write(doc.toprettyxml())
# doc = xml.dom.minidom.parse(ofname)
# open(ofname, 'w').write(doc.toprettyxml())

@ -2446,7 +2446,7 @@ end program prog
def get_dependency_gen_args(self, outtarget, outfile):
# Disabled until this is fixed:
# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=62162
#return ['-cpp', '-MMD', '-MQ', outtarget]
# return ['-cpp', '-MMD', '-MQ', outtarget]
return []
def get_output_args(self, target):

@ -76,29 +76,29 @@ class SectionHeader(DataSizes):
is_64 = True
else:
is_64 = False
#Elf64_Word
# Elf64_Word
self.sh_name = struct.unpack(self.Word, ifile.read(self.WordSize))[0];
#Elf64_Word
# Elf64_Word
self.sh_type = struct.unpack(self.Word, ifile.read(self.WordSize))[0]
#Elf64_Xword
# Elf64_Xword
if is_64:
self.sh_flags = struct.unpack(self.XWord, ifile.read(self.XWordSize))[0]
else:
self.sh_flags = struct.unpack(self.Word, ifile.read(self.WordSize))[0]
#Elf64_Addr
# Elf64_Addr
self.sh_addr = struct.unpack(self.Addr, ifile.read(self.AddrSize))[0];
#Elf64_Off
# Elf64_Off
self.sh_offset = struct.unpack(self.Off, ifile.read(self.OffSize))[0]
#Elf64_Xword
# Elf64_Xword
if is_64:
self.sh_size = struct.unpack(self.XWord, ifile.read(self.XWordSize))[0]
else:
self.sh_size = struct.unpack(self.Word, ifile.read(self.WordSize))[0]
#Elf64_Word
# Elf64_Word
self.sh_link = struct.unpack(self.Word, ifile.read(self.WordSize))[0];
#Elf64_Word
# Elf64_Word
self.sh_info = struct.unpack(self.Word, ifile.read(self.WordSize))[0];
#Elf64_Xword
# Elf64_Xword
if is_64:
self.sh_addralign = struct.unpack(self.XWord, ifile.read(self.XWordSize))[0]
else:

@ -84,7 +84,7 @@ def stop_handler(signal, frame):
signal.signal(signal.SIGINT, stop_handler)
signal.signal(signal.SIGTERM, stop_handler)
#unity_flags = ['--unity']
# unity_flags = ['--unity']
unity_flags = []
backend_flags = None

@ -70,7 +70,7 @@ class Lexer:
elif tid == 'id':
yield(Token('id', match_text))
elif tid == 'eol':
#yield('eol')
# yield('eol')
lineno += 1
col = 1
line_start = mo.end()

Loading…
Cancel
Save