Support for with statement.

This commit is contained in:
Kunal Parmar
2012-06-03 20:39:45 -07:00
parent 6a1eba1622
commit cc9bdfa085
7 changed files with 71 additions and 6 deletions

View File

@@ -79,7 +79,7 @@ const char* ASTBlock::type_str() const
{
static const char* s_type_strings[] = {
"", "if", "else", "elif", "try", "CONTAINER", "except",
"finally", "while", "for"
"finally", "while", "for", "with",
};
return s_type_strings[blktype()];
}