Lexer.poundLine

Parse line/file preprocessor directive: #line linnum filespec Allow __LINE__ for linnum, and __FILE__ for filespec. Accept linemarker format: # linnum filespec {flags} There can be zero or more flags, which are one of the digits 1..4, and must be in ascending order. The flags are ignored.

class Lexer
nothrow final
void
poundLine
(,)

Parameters

tok Token

token we're on, which is linnum of linemarker

linemarker bool

true if line marker format and lexer is on linnum References: linemarker https://gcc.gnu.org/onlinedocs/gcc-11.1.0/cpp/Preprocessor-Output.html

Meta