abaplint icon indicating copy to clipboard operation
abaplint copied to clipboard

check_syntax: constant not found, findtop / Pragma not allowed without pragma defined

Open ed-holland opened this issue 3 years ago • 2 comments

With the new lint version, the below errors show up.

node version:     v16.15.0
abaplint version: 2.90.7

./src/nw/#jcs#bc.fugr.#jcs#lbcf91.abap[141, 5] - "c_char_unknown" not found, findTop (check_syntax) [E]
./src/nw/#jcs#bc.fugr.#jcs#lbcf91.abap[146, 5] - "c_char_unknown" not found, findTop (check_syntax) [E]
./src/nw/#jcs#bc.fugr.#jcs#lbcf91.abap[182, 9] - Pragmas not allowed in v700 (parser_error) [E]
./src/nw/#jcs#bc.fugr.#jcs#lbcf91.abap[[28](https://vdocker.sap.internal:8929/abap/abap-fca/-/jobs/103585#L28)7, 5] - "c_char_unknown" not found, findTop (check_syntax) [E]
./src/nw/#jcs#bc.fugr.#jcs#lbcf91.abap[288, 3] - "c_char_space" not found, findTop (check_syntax) [E]

The constants not found are part of a SAP original include referenced in the FUGR top include image

ed-holland avatar May 27 '22 07:05 ed-holland

is LBTCHDEF in your repository/deps, without syntax errors?

larshp avatar May 27 '22 07:05 larshp

yes, it is in deps. I've ran SCI_DEPS and it did not find any other issues. We use the same include also in some abaps and there it also has no issue.

ed-holland avatar May 27 '22 08:05 ed-holland