WL#5498: Remove dead and unused source code

Remove unused macros or macro which are always defined.

include/my_global.h:
  Remove unused macros and move macros which aren't used globally.
This commit is contained in:
Davi Arnaut 2010-07-23 17:16:29 -03:00
commit 75e2212397
25 changed files with 52 additions and 382 deletions

View file

@ -285,18 +285,6 @@ register struct parse *p;
EMIT(ORPAREN, subno);
if(MUSTEAT(')', REG_EPAREN)) {}
break;
#ifndef POSIX_MISTAKE
case ')': /* happens only if no current unmatched ( */
/*
* You may ask, why the ifndef? Because I didn't notice
* this until slightly too late for 1003.2, and none of the
* other 1003.2 regular-expression reviewers noticed it at
* all. So an unmatched ) is legal POSIX, at least until
* we can get it fixed.
*/
SETERROR(REG_EPAREN);
break;
#endif
case '^':
EMIT(OBOL, 0);
p->g->iflags |= USEBOL;