Browse Source

Correction for python2.7 (LalrPuppet-> new style class)

tags/gm/2021-09-23T00Z/github.com--lark-parser-lark/0.10.0
MegaIng1 4 years ago
parent
commit
2e160c046e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      lark/parsers/lalr_puppet.py

+ 1
- 1
lark/parsers/lalr_puppet.py View File

@@ -4,7 +4,7 @@ from copy import deepcopy

from .lalr_analysis import Shift, Reduce

class ParserPuppet:
class ParserPuppet(object):
def __init__(self, parser, state_stack, value_stack, start, stream, set_state):
self.parser = parser
self._state_stack = state_stack


Loading…
Cancel
Save