add AssertIsList() template; sync with 5c52288845

This commit is contained in:
Terence Parr 2015-06-22 11:21:35 -07:00
parent 30aa7349f6
commit c8634bb9b6
1 changed files with 2 additions and 0 deletions

View File

@ -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>%>