Lines Matching defs:ex
430 pANTLR3_EXCEPTION ex;
434 ex = lexer->rec->state->exception;
438 if (ex->name == NULL)
444 ftext = ex->streamName->to8(ex->streamName);
450 ex->type,
451 (pANTLR3_UINT8) (ex->message),
452 ex->charPositionInLine+1
457 width = ANTLR3_UINT32_CAST(( (pANTLR3_UINT8)(lexer->input->data) + (lexer->input->size(lexer->input) )) - (pANTLR3_UINT8)(ex->index));
461 if (isprint(ex->c))
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));