semantic-lex-unterminated-syntax-end-function

semantic-lex-unterminated-syntax-end-function is a variable defined in `lex.el'.
Its value is
#[(syntax syntax-start lex-end) "\207" [lex-end] 1]

  • This variable may be risky if used as a file-local variable.

Documentation:
Function called when unterminated syntax is encountered.
This should be set to one function. That function should take three
parameters. The SYNTAX, or type of syntax which is unterminated.
SYNTAX-START where the broken syntax begins.
LEX-END is where the lexical analysis was asked to end.
This function can be used for languages that can intelligently fix up
broken syntax, or the exit lexical analysis via `throw' or `signal'
when finding unterminated syntax.