Better parsing
This commit is contained in:
parent
923384eb37
commit
94b5ea15a5
@ -73,8 +73,8 @@ python early hide:
|
|||||||
class chibi:
|
class chibi:
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def parse(l):
|
def parse(l):
|
||||||
who = l.name()
|
who = l.require(l.name)
|
||||||
action = l.name()
|
action = l.require(l.name)
|
||||||
arguments = l.arguments() # may be None
|
arguments = l.arguments() # may be None
|
||||||
l.expect_eol()
|
l.expect_eol()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user