Mentioned in https://github.com/cppcheck-opensource/simplecpp/pull/586#discussion_r3446608940. ```cpp #line -1 ``` Is being reject by GCC ``` a.cpp:1:7: error: ‘-’ after ‘#line’ is not a positive integer 1 | #line -1 | ^ ``` and Clang ``` a.cpp:1:7: error: #line directive requires a positive integer argument 1 | #line -1 | ^ ``` but we just accept it. See https://en.cppreference.com/cpp/preprocessor/line.
Mentioned in #586 (comment).
#line -1Is being reject by GCC
and Clang
but we just accept it.
See https://en.cppreference.com/cpp/preprocessor/line.