forked from jasder/antlr
Fix code generation for catch statements in python
This commit is contained in:
parent
9f422d87b8
commit
3cd2878b28
|
@ -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
|
||||
|
|
|
@ -517,9 +517,8 @@ if not <chunks>:
|
|||
>>
|
||||
|
||||
ExceptionClause(e, catchArg, catchAction) ::= <<
|
||||
catch (<catchArg>) {
|
||||
except <catchArg>:
|
||||
<catchAction>
|
||||
}
|
||||
>>
|
||||
|
||||
// lexer actions are not associated with model objects
|
||||
|
|
|
@ -529,9 +529,8 @@ if not <chunks>:
|
|||
>>
|
||||
|
||||
ExceptionClause(e, catchArg, catchAction) ::= <<
|
||||
catch (<catchArg>) {
|
||||
except <catchArg>:
|
||||
<catchAction>
|
||||
}
|
||||
>>
|
||||
|
||||
// lexer actions are not associated with model objects
|
||||
|
|
Loading…
Reference in New Issue