genericopenlibs/openenvcore/libc/src/regex/src/regcomp.c
changeset 72 403e7f6ed6c5
parent 0 e4d67989cc36
equal deleted inserted replaced
71:28ccaba883f4 72:403e7f6ed6c5
   363 p_ere(p, stop)
   363 p_ere(p, stop)
   364 struct parse *p;
   364 struct parse *p;
   365 int stop;			/* character this ERE should end at */
   365 int stop;			/* character this ERE should end at */
   366 {
   366 {
   367 	char c;
   367 	char c;
   368 	sopno prevback;
   368 	sopno prevback = 0;
   369 	sopno prevfwd;
   369 	sopno prevfwd = 0;
   370 	sopno conc;
   370 	sopno conc;
   371 	int first = 1;		/* is this the first alternative? */
   371 	int first = 1;		/* is this the first alternative? */
   372 
   372 
   373 	for (;;) {
   373 	for (;;) {
   374 		/* do a bunch of concatenated expressions */
   374 		/* do a bunch of concatenated expressions */