Parser error when closing parenthesis without space
See original GitHub issueIt’s easier to see the code than describe the error:
REPORT zprogram.
CLASS lcl_foo DEFINITION.
PUBLIC SECTION.
METHODS constructor
IMPORTING
i_flight TYPE sflight.
ENDCLASS.
CLASS lcl_foo IMPLEMENTATION.
METHOD constructor.
ENDMETHOD.
ENDCLASS.
CLASS lcl_bar DEFINITION.
PUBLIC SECTION.
TYPES: BEGIN OF ty_foo,
foo TYPE REF TO lcl_foo,
END OF ty_foo.
METHODS bar.
ENDCLASS.
CLASS lcl_bar IMPLEMENTATION.
METHOD bar.
DATA foos TYPE TABLE OF REF TO lcl_foo.
DATA flight TYPE sflight.
" '456' ) ) = correct
APPEND NEW lcl_foo( i_flight = VALUE #( carrid = 'AA' connid = '456' ) ) TO foos.
" '456') ) = parser error, altough it compiles
APPEND NEW lcl_foo( i_flight = VALUE #( carrid = 'AA' connid = '456') ) TO foos.
ENDMETHOD.
ENDCLASS.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (7 by maintainers)
Top Results From Across the Web
Why am I getting a parse error on the closing bracket in Haskell?
When compiling this, I get " parse error on input `}' " . I have no idea why. function · parsing · haskell...
Read more >Explicit support for matched parentheses, including ... - GitHub
We don't think of parentheses as matched, but we provide a more convenient way to handle whitespace. ... which does a deep copy...
Read more >IMS 15 - IMS messages - BPE0003E - IBM
AN EXPECTED RIGHT PARENTHESIS WAS NOT FOUND. The parser did not find the closing parenthesis in the input data to match an opening...
Read more >Formula Parse Errors In Google Sheets And How To Fix Them
This formula parse error typically occurs when your formula is expecting a certain data type as an input but receives the wrong type,...
Read more >vue/no-parsing-error
This rule tries to parse directives/mustaches in <template> by the parser which parses <script> . Then reports syntax errors if exist. 1.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
thanks, think this is similar to #140
issue is something that needs to be fixed in the lexer, as far as I remember
closing