|        | |||||
|  | |||||
| built-in variable | #line-number | ||||
| Related Syntax | |||||
| Summary | Numeric The number of the line in which an SGML error occurred. | 
A built-in variable that provides the number of the line in which an SGML error occurred. (This is the line number in the markup file, as seen by the markup processor.) #line-number can be accessed only from the header and body of sgml-error rules.
If an up-translation or context-translation is being done, the line number is based on the lines of output from find, find-start, find-endand external-text-entity rules sent to the markup processor. 
#line-number also can be used as a pattern variable for compatibility with past releases, however, this use is deprecated. Unlike programmer-defined pattern variables, #line-number must always be heralded with the pattern keyword, even where heralding is usually optional. 
The is specified test is always true for #line-number because the line number is present in all markup error messages.
| Related Syntax pattern sgml-error #class #error-code #file-name #message #recovery-info | 
| ---- |