[voltLib] add Parser.anchors
This commit is contained in:
parent
1f7bc1bea7
commit
cdfd1a11c3
@ -11,6 +11,7 @@ class Parser(object):
|
|||||||
def __init__(self, path):
|
def __init__(self, path):
|
||||||
self.doc_ = ast.VoltFile()
|
self.doc_ = ast.VoltFile()
|
||||||
self.groups_ = SymbolTable()
|
self.groups_ = SymbolTable()
|
||||||
|
self.anchors_ = SymbolTable()
|
||||||
self.next_token_type_, self.next_token_ = (None, None)
|
self.next_token_type_, self.next_token_ = (None, None)
|
||||||
self.next_token_location_ = None
|
self.next_token_location_ = None
|
||||||
with open(path, "r") as f:
|
with open(path, "r") as f:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user