Clean up namespace of generated Python3 listeners

Added `del <file.parserName>` to the end of the `ListenerFile`
template the same way it is used in `VisitorFile`.
This commit is contained in:
Akos Kiss 2019-03-24 12:24:19 +01:00
parent f7022ebb02
commit acbd582678
1 changed files with 1 additions and 0 deletions

View File

@ -82,6 +82,7 @@ def exit<lname; format="cap">(self, ctx:<file.parserName>.<lname; format="cap">C
}; separator="\n">
del <file.parserName>
>>