View source code
Display the source code in dmd/lexer.d from which this
page was generated on github.
Report a bug
If you spot a problem with this page, click here to create a
Bugzilla issue.
Improve this page
Quickly fork, edit online, and submit a pull request for this page.
Requires a signed-in GitHub account. This works well for small changes.
If you'd like to make larger changes you may want to consider using
local clone.
Function dmd.lexer.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.
Parameters
Name | Description |
---|---|
tok | token we're on, which is linnum of linemarker |
linemarker | 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
Authors
License
Copyright © 1999-2024 by the D Language Foundation | Page generated by ddox.