diff options
Diffstat (limited to 'src/translators/btparse/err.h')
-rw-r--r-- | src/translators/btparse/err.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/translators/btparse/err.h b/src/translators/btparse/err.h index d16615d..0717b9c 100644 --- a/src/translators/btparse/err.h +++ b/src/translators/btparse/err.h @@ -230,14 +230,14 @@ zzrestore_antlr_state(zzantlr_state *buf) void zzedecode(SetWordType *a) { - register SetWordType *p = a; - register SetWordType *endp = &(p[zzSET_SIZE]); - register unsigned e = 0; + SetWordType *p = a; + SetWordType *endp = &(p[zzSET_SIZE]); + unsigned e = 0; if ( zzset_deg(a)>1 ) fprintf(stderr, " {"); do { - register SetWordType t = *p; - register SetWordType *b = &(bitmask[0]); + SetWordType t = *p; + SetWordType *b = &(bitmask[0]); do { if ( t & *b ) fprintf(stderr, " %s", zztokens[e]); e++; @@ -281,15 +281,15 @@ zzset_deg(SetWordType *a) of elements present in the set. Assumes that all word bits are used in the set */ - register SetWordType *p = a; - register SetWordType *endp = &(a[zzSET_SIZE]); - register int degree = 0; + SetWordType *p = a; + SetWordType *endp = &(a[zzSET_SIZE]); + int degree = 0; if ( a == NULL ) return 0; while ( p < endp ) { - register SetWordType t = *p; - register SetWordType *b = &(bitmask[0]); + SetWordType t = *p; + SetWordType *b = &(bitmask[0]); do { if (t & *b) ++degree; } while (++b < &(bitmask[sizeof(SetWordType)*8])); |