diff options
author | HombreLaser <sebastian-440@live.com> | 2022-04-02 12:27:43 -0600 |
---|---|---|
committer | HombreLaser <sebastian-440@live.com> | 2022-04-02 12:27:43 -0600 |
commit | 98342425bde17b9b236f8226e466d7e604371720 (patch) | |
tree | 214da01f6534d08ba1e76f044843f00bc7e79ac2 /main.cpp | |
parent | bbf4e8304b50b6a972cacc6337d1aa283ccb83be (diff) |
Corregido error de paréntesis derecho.
Diffstat (limited to 'main.cpp')
-rw-r--r-- | main.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -19,10 +19,15 @@ int main(){ { parser.parse(input); cout << "Todo correcto." << endl; - }catch(ParserException e) - { - cout << e.showMsg() << endl; - } + } + catch(ParserException e) + { + cout << e.showMsg() << endl; + } + catch(LexerException e) + { + cout << e.showMsg() << endl; + } return 0; } |