forked from jasder/antlr
add AssertIsList() template; sync with 5c52288845
This commit is contained in:
parent
30aa7349f6
commit
c8634bb9b6
|
@ -178,6 +178,8 @@ Concat(a,b) ::= "<a><b>"
|
|||
|
||||
DeclareLocal(s,v) ::= "<s> = <v>"
|
||||
|
||||
AssertIsList(v) ::= "assert isinstance(v, (list, tuple))"
|
||||
|
||||
AssignLocal(s,v) ::= "<s> = <v>"
|
||||
|
||||
InitIntMember(n,v) ::= <%<n> = <v>%>
|
||||
|
|
Loading…
Reference in New Issue