Lines Matching refs:ANTLR3_FPRINTF
406 ANTLR3_FPRINTF(stderr, "lexer->mTokens(): Error: No lexer rules were added to the lexer yet!\n");
440 ANTLR3_FPRINTF(stderr, "-unknown source-(");
445 ANTLR3_FPRINTF(stderr, "%s(", ftext->chars);
448 ANTLR3_FPRINTF(stderr, "%d) ", recognizer->state->exception->line);
449 ANTLR3_FPRINTF(stderr, ": lexer error %d :\n\t%s at offset %d, ",
463 ANTLR3_FPRINTF(stderr, "near '%c' :\n", ex->c);
467 ANTLR3_FPRINTF(stderr, "near char(%#02X) :\n", (ANTLR3_UINT8)(ex->c));
469 ANTLR3_FPRINTF(stderr, "\t%.*s\n", width > 20 ? 20 : width ,((pANTLR3_UINT8)ex->index));
473 ANTLR3_FPRINTF(stderr, "(end of input).\n\t This indicates a poorly specified lexer RULE\n\t or unterminated input element such as: \"STRING[\"]\n");
474 ANTLR3_FPRINTF(stderr, "\t The lexer was matching from line %d, offset %d, which\n\t ",
482 ANTLR3_FPRINTF(stderr, "looks like this:\n\t\t%.*s\n", width > 20 ? 20 : width ,(pANTLR3_UINT8)(lexer->rec->state->tokenStartCharIndex));
486 ANTLR3_FPRINTF(stderr, "is also the end of the line, so you must check your lexer rules\n");