report Error
Report the rightmost accumulated errors, then invoke the failureReporter.
fun reportError( lexingState: LexingState, headerMessagePattern: String, message: String)
Content copied to clipboard
Report one specific terminal problem and call the failure continuation to abort compilation.
Parameters
lexing State
The position at which to report the problem.
header Message Pattern
The problem header pattern, where the first pattern argument is the indicator string (e.g., circled-A), and the second pattern argument is the line number.
message
The message text for this problem.