Skip to content

Commit

Permalink
automate 4th section
Browse files Browse the repository at this point in the history
  • Loading branch information
reedeveris committed Feb 7, 2024
1 parent f0b9200 commit 9c91aa0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plcc.py
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,7 @@ def parFinishUp():

# build parser stub classes
buildStubs()
if getFlag('python_semantics'):
python_buildStubs()
python_buildStubs()
# build the _Start.java file from the start symbol
buildStart()

Expand Down Expand Up @@ -1058,6 +1057,7 @@ def sem(nxt):
# print('== extend argv by {}'.format(fn))
continue
if line == "%":
flags['python_semantics'] = True
break
if len(line) == 0 or line[0] == '#':
# skip just comments or blank lines
Expand Down

0 comments on commit 9c91aa0

Please sign in to comment.