Fix code generation for catch statements in python

This commit is contained in:
Wail Khemir 2019-01-03 15:26:47 -05:00
parent 9f422d87b8
commit 3cd2878b28
3 changed files with 4 additions and 5 deletions

View File

@ -210,4 +210,5 @@ YYYY/MM/DD, github id, Full name, email
2018/11/14, nxtstep, Adriaan (Arjan) Duz, codewithadriaan[et]gmail[dot]com
2018/11/15, amykyta3, Alex Mykyta, amykyta3@users.noreply.github.com
2018/11/29, hannemann-tamas, Ralf Hannemann-Tamas, ralf.ht@gmail.com
2018/12/20, WalterCouto, Walter Couto, WalterCouto@users.noreply.github.com
2018/12/20, WalterCouto, Walter Couto, WalterCouto@users.noreply.github.com
2019/01/02, wkhemir, Wail Khemir, khemirwail@gmail.com

View File

@ -517,9 +517,8 @@ if not <chunks>:
>>
ExceptionClause(e, catchArg, catchAction) ::= <<
catch (<catchArg>) {
except <catchArg>:
<catchAction>
}
>>
// lexer actions are not associated with model objects

View File

@ -529,9 +529,8 @@ if not <chunks>:
>>
ExceptionClause(e, catchArg, catchAction) ::= <<
catch (<catchArg>) {
except <catchArg>:
<catchAction>
}
>>
// lexer actions are not associated with model objects