This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
2.3.4 #line
The #line
feature enables a developer to alter the line number and source file names that are used by the compiler in output such as warnings and errors. If no line directives are present then the line number and file name are determined automatically by the compiler. The #line directive is most commonly used in meta-programming tools that generate C# source code from some other text input.
- pp-line-number:
- #line integer-literal
#line integer-literal string-literal
- pp-integer-literal:
- decimal-digit
decimal-digits decimal-digit
- pp-string-literal:
- " pp-string-literal-characters "
- pp-string-literal-characters:
- pp-string-literal-character
pp-string-literal-characters pp-string-literal-character