|
|||||||||
|
|||||||||
Related Syntax | |||||||||
built-in variable | #line-number |
Summary |
Integer
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 parser.) #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-end
and external-text-entity
rules sent to the parser.
The is specified
test is always true for #line-number
because the line number is present in all markup error messages.
Related Syntax sgml-error #class #error-code #file-name #message #recovery-info |
---- |