abaplint
abaplint copied to clipboard
check_syntax: constant not found, findtop / Pragma not allowed without pragma defined
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

is LBTCHDEF in your repository/deps, without syntax errors?
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.