toning down some things
This commit is contained in:
parent
54e6c30eff
commit
34d5d688ba
@ -135,7 +135,7 @@ class Map(State):
|
||||
self.nodes.append(_resolve_atom(self.bulk, self))
|
||||
|
||||
if (len(self.nodes) % 2) != 0:
|
||||
raise Exception("Hash map is fucked")
|
||||
raise LexException("Hash map is screwed up")
|
||||
|
||||
ret = HYMap({})
|
||||
i = iter(self.nodes)
|
||||
|
@ -7,5 +7,5 @@ def tokenize(buff):
|
||||
m = Machine(Idle)
|
||||
m.process(buff)
|
||||
if type(m.state) != Idle:
|
||||
raise LexException("End of file.")
|
||||
raise LexException("Reached end of file before we were done parsing")
|
||||
return m.nodes
|
||||
|
Loading…
x
Reference in New Issue
Block a user