Lines 101-107
assert outputHTmp != None
Link Here
|
101 |
outputHFile = open(outputHTmp) |
101 |
outputHFile = open(outputHTmp) |
102 |
outputHContents = outputHFile.read() |
102 |
outputHContents = outputHFile.read() |
103 |
outputHFile.close() |
103 |
outputHFile.close() |
104 |
os.unlink(outputHTmp) |
104 |
# not working for bison-3.7: os.unlink(outputHTmp) |
105 |
|
105 |
|
106 |
# Rewrite the generated header with #include guards. |
106 |
# Rewrite the generated header with #include guards. |
107 |
outputH = os.path.join(outputDir, inputRoot + '.h') |
107 |
outputH = os.path.join(outputDir, inputRoot + '.h') |