public static void ParserError(Lexer lex, string msg)
 {
     OutputError(lex.LookAheadToken.CodeLineNumber + ":" + lex.LookAheadToken.CodeColumnNumber + " > " + msg);
 }
 public static void LexerError(Lexer lex, string msg)
 {
     OutputError(lex.CurrentLineNumber + ":" + lex.CurrentColumnNumber + " > " + msg);
 }
 public static void MissingRequiredKeywordError(Lexer lex, Token.Types keyword)
 {
     ParserError(lex, "Keyword '" + keyword.ToString() + "' required.");
 }
 public static void IdentifierExpected(Lexer lex)
 {
     ParserError(lex, "Identifier expected.");
 }