Browse Source

typo 'typedeffing'

master
Nathan R 3 years ago
parent
commit
2fada73661
1 changed files with 10 additions and 10 deletions
  1. +10
    -10
      ccmeta.leg

+ 10
- 10
ccmeta.leg View File

@ -872,42 +872,42 @@ oop listEmpty(void)
return makeMap(); return makeMap();
} }
int typdeffing = 0;
int typedeffing = 0;
void declarationTypedef() {
typdeffing++;
void declarationTypedef(void) {
typedeffing++;
} }
void C_declarationBegin(void) { void C_declarationBegin(void) {
typdeffing = 0;
typedeffing = 0;
} }
int C_declarationAbort(void) { int C_declarationAbort(void) {
typdeffing = 0;
typedeffing = 0;
return 0; return 0;
} }
void C_declarationEnd(void) { void C_declarationEnd(void) {
typdeffing = 0;
typedeffing = 0;
} }
void C_scopeBegin() {
void C_scopeBegin(void) {
pushScope(); pushScope();
} }
int C_scopeAbort() {
int C_scopeAbort(void) {
popScope(); popScope();
assert(actualScope); assert(actualScope);
return 0; return 0;
} }
void C_scopeEnd() {
void C_scopeEnd(void) {
popScope(); popScope();
assert(actualScope); assert(actualScope);
} }
int declarationId(char *s) { int declarationId(char *s) {
if (!typdeffing) return 0;
if (!typedeffing) return 0;
addId(s); addId(s);
return 1; return 1;
} }

Loading…
Cancel
Save