reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

Declarations

lib/Support/regcomp.c
  223 static int seterr(struct parse *, int);

References

lib/Support/regcomp.c
  380 		SETERROR(REG_ASSERT);
  406 		REQUIRE(HERE() != conc, REG_EMPTY);	/* require nonempty */
  452 		REQUIRE(MORE(), REG_EPAREN);
  465 		MUSTEAT(')', REG_EPAREN);
  476 		SETERROR(REG_EPAREN);
  491 		SETERROR(REG_EMPTY);
  496 		SETERROR(REG_BADRPT);
  508 		REQUIRE(MORE(), REG_EESCAPE);
  518 				SETERROR(REG_ESUBREG);
  540 		REQUIRE(!MORE() || !isdigit((uch)PEEK()), REG_BADRPT);
  556 	REQUIRE(!wascaret, REG_BADRPT);
  583 				REQUIRE(count <= count2, REG_BADBR);
  592 			REQUIRE(MORE(), REG_EBRACE);
  593 			SETERROR(REG_BADBR);
  604 	SETERROR(REG_BADRPT);
  613 	REQUIRE(MORE(), REG_EMPTY);
  653 	REQUIRE(HERE() != start, REG_EMPTY);	/* require nonempty */
  676 		REQUIRE(MORE(), REG_EESCAPE);
  690 		SETERROR(REG_BADRPT);
  706 		REQUIRE(EATTWO('\\', ')'), REG_EPAREN);
  710 		SETERROR(REG_EPAREN);
  732 			SETERROR(REG_ESUBREG);
  736 		REQUIRE(starordinary, REG_BADRPT);
  754 				REQUIRE(count <= count2, REG_BADBR);
  763 			REQUIRE(MORE(), REG_EBRACE);
  764 			SETERROR(REG_BADBR);
  786 	REQUIRE(ndigits > 0 && count <= DUPMAX, REG_BADBR);
  829 	MUSTEAT(']', REG_EBRACK);
  888 		SETERROR(REG_ERANGE);
  899 		REQUIRE(MORE(), REG_EBRACK);
  901 		REQUIRE(c != '-' && c != ']', REG_ECTYPE);
  903 		REQUIRE(MORE(), REG_EBRACK);
  904 		REQUIRE(EATTWO(':', ']'), REG_ECTYPE);
  908 		REQUIRE(MORE(), REG_EBRACK);
  910 		REQUIRE(c != '-' && c != ']', REG_ECOLLATE);
  912 		REQUIRE(MORE(), REG_EBRACK);
  913 		REQUIRE(EATTWO('=', ']'), REG_ECOLLATE);
  928 		REQUIRE(start <= finish, REG_ERANGE);
  955 		SETERROR(REG_ECTYPE);
  988 	REQUIRE(MORE(), REG_EBRACK);
  994 	REQUIRE(EATTWO('.', ']'), REG_ECOLLATE);
 1012 		SETERROR(REG_EBRACK);
 1021 	SETERROR(REG_ECOLLATE);			/* neither */
 1172 		SETERROR(REG_ASSERT);	/* just in case */
 1246 	SETERROR(REG_ESPACE);
 1351 		SETERROR(REG_ESPACE);
 1554 		SETERROR(REG_ESPACE);
 1560 		SETERROR(REG_ESPACE);
 1576 		SETERROR(REG_ESPACE);
 1582 		SETERROR(REG_ESPACE);