Lexer.error

Creates an error report and appends it to a list.

  1. void error(cchar* columnPos, MID mid, ...)
  2. void error(LineLoc line, cchar* columnPos, MID mid, ...)
  3. void error(TypeInfo[] _arguments, va_list _argptr, LineLoc line, cchar* columnPos, cstring msg)
    class Lexer
    void
    error

Parameters

line
Type: LineLoc

The line number and pointer to the first character of a line.

columnPos
Type: cchar*

Points to the character where the error is located.

msg
Type: cstring

The error message.

Meta