* util/import_gcry.py: Accept space between # and include.
This commit is contained in:
parent
3471ecdfd9
commit
e084ba1895
2 changed files with 6 additions and 3 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* util/import_gcry.py: Accept space between # and include.
|
||||||
|
|
||||||
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
|
2011-10-23 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* grub-core/lib/setjmp.S [__ia64__]: Include ./ia64/longjmp.S.
|
* grub-core/lib/setjmp.S [__ia64__]: Include ./ia64/longjmp.S.
|
||||||
|
|
|
@ -189,10 +189,9 @@ for cipher_file in cipher_files:
|
||||||
continue
|
continue
|
||||||
else:
|
else:
|
||||||
fw.write (holdline)
|
fw.write (holdline)
|
||||||
m = re.match ("#include <.*>", line)
|
m = re.match ("# *include <(.*)>", line)
|
||||||
if not m is None:
|
if not m is None:
|
||||||
chmsg = "Removed including of %s" % \
|
chmsg = "Removed including of %s" % m.groups ()[0]
|
||||||
m.group () [len ("#include <"):len (m.group ()) - 1]
|
|
||||||
if nch:
|
if nch:
|
||||||
chlognew = "%s\n %s" % (chlognew, chmsg)
|
chlognew = "%s\n %s" % (chlognew, chmsg)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue