You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -1112,7 +1096,7 @@ The following pre-processing directives are available:
1112
1096
1113
1097
-`#define` and `#undef`, which are used to define and undefine, respectively, conditional compilation symbols ([§6.5.4](lexical-structure.md#654-definition-directives)).
1114
1098
-`#if`, `#elif`, `#else`, and `#endif`, which are used to skip conditionally sections of source code ([§6.5.5](lexical-structure.md#655-conditional-compilation-directives)).
1115
-
-`#line`, which is used to control line numbers emitted for errors and warnings ([§6.5.8](lexical-structure.md#658-line-directives)).
1099
+
-`#line`, which is used to control line numbers and source file mapping emitted for errors and warnings (§6.5.8).
1116
1100
-`#error`, which is used to issue errors ([§6.5.6](lexical-structure.md#656-diagnostic-directives)).
1117
1101
-`#region` and `#endregion`, which are used to explicitly mark sections of source code ([§6.5.7](lexical-structure.md#657-region-directives)).
1118
1102
-`#nullable`, which is used to specify the nullable context ([§6.5.9](lexical-structure.md#659-nullable-directive)).
@@ -1573,35 +1557,44 @@ The maximum value allowed for `Decimal_Digit+` is implementation-defined.
1573
1557
1574
1558
A `#line default` directive undoes the effect of all preceding `#line` directives. A compiler reports true line information for subsequent lines, precisely as if no `#line` directives had been processed.
1575
1559
1576
-
A `#line hidden` directive has no effect on the compilation unit and line numbers reported in error messages, or produced by use of `CallerLineNumberAttribute` ([§23.5.6.2](attributes.md#23562-the-callerlinenumber-attribute)). Itisintendedtoaffectsource-leveldebuggingtoolssothat, whendebugging, alllinesbetweena `#linehidden` directiveandthesubsequent `#line` directive (thatisnot `#linehidden`) havenolinenumberinformation, andareskippedentirelywhensteppingthroughcode.
1560
+
A `#line hidden` directive has no effect on the source location information reported in error messages, or produced by use of `CallerLineNumberAttribute` ([§23.5.6.2](attributes.md#23562-the-callerlinenumber-attribute)). Itisintendedtoaffectsource-leveldebuggingtoolssothat, whendebugging, alllinesbetweena `#linehidden` directiveandthesubsequent `#line` directive (thatisnot `#linehidden`) havenolinenumberinformation, andareskippedentirelywhensteppingthroughcode.
*PP_Start_Line_Character*representsthestartline (*PP_Start_Line*) andcolumn (*PP_Start_Character*) pairofthefirstcharacteronthelinefollowingthedirective, whichisthemappedfiletext; for example, `(1,1)`.
1566
+
*PP_Start_Line_Character*representsastartpositioninthemappedfile, specifiedasaline (*PP_Start_Line*) andcolumn (*PP_Start_Character*) pair; for example, `(1,1)`. Thispositioncorrespondstothefirstcharacteronthelinefollowingthedirectiveinthegeneratedcode.
1583
1567
1584
-
*PP_End_Line_Character*representstheendline (*PP_End_Line*) andcolumn (*PP_End_Character*) pairofthemappedfiletext; for example, `(3,10)`.
1568
+
*PP_End_Line_Character*representsanendpositioninthemappedfile, specifiedasaline (*PP_End_Line*) andcolumn (*PP_End_Character*) pair; for example, `(3,10)`.
0 commit comments