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();
}
int typdeffing = 0;
int typedeffing = 0;
void declarationTypedef() {
typdeffing++;
void declarationTypedef(void) {
typedeffing++;
}
void C_declarationBegin(void) {
typdeffing = 0;
typedeffing = 0;
}
int C_declarationAbort(void) {
typdeffing = 0;
typedeffing = 0;
return 0;
}
void C_declarationEnd(void) {
typdeffing = 0;
typedeffing = 0;
}
void C_scopeBegin() {
void C_scopeBegin(void) {
pushScope();
}
int C_scopeAbort() {
int C_scopeAbort(void) {
popScope();
assert(actualScope);
return 0;
}
void C_scopeEnd() {
void C_scopeEnd(void) {
popScope();
assert(actualScope);
}
int declarationId(char *s) {
if (!typdeffing) return 0;
if (!typedeffing) return 0;
addId(s);
return 1;
}

Loading…
Cancel
Save