} else if (tokenType != MOTCLE && tokenType != NPARA && tokenType != SECTION && \
tokenType != SSECTION && tokenType != FIN) {
fprintf(stderr, "%s follows error on %s\n", __func__, tokenTypestr[tokenType]);
+ fflush(stderr);
exit(EXIT_FAILURE);
}
#if DEBUG
analyze_P();
} else if (tokenType != SECTION && tokenType != SSECTION && tokenType != FIN) {
fprintf(stderr, "%s follows error on %s\n", __func__, tokenTypestr[tokenType]);
+ fflush(stderr);
exit(EXIT_FAILURE);
}
} else if (tokenType != SECTION && tokenType != SSECTION && tokenType != FIN) {
fprintf(stderr, "%s follows error on %s\n", __func__, tokenTypestr[tokenType]);
+ fflush(stderr);
exit(EXIT_FAILURE);
}
#if DEBUG
analyze_TEXT();
} else if (tokenType != NPARA && tokenType != SECTION && tokenType != FIN) {
fprintf(stderr, "%s follows error on %s\n", __func__, tokenTypestr[tokenType]);
+ fflush(stderr);
exit(EXIT_FAILURE);
}
} else if (tokenType != NPARA && tokenType != SECTION && tokenType != FIN) {
fprintf(stderr, "%s follows error on %s\n", __func__, tokenTypestr[tokenType]);
+ fflush(stderr);
exit(EXIT_FAILURE);
}
#if DEBUG
analyze_S2();
} else if (tokenType != SECTION && tokenType != FIN) {
fprintf(stderr, "%s follows error on %s\n", __func__, tokenTypestr[tokenType]);
+ fflush(stderr);
exit(EXIT_FAILURE);
}
#if DEBUG
analyze_S1();
} else if (tokenType != FIN) {
fprintf(stderr, "%s follows error on %s\n", __func__, tokenTypestr[tokenType]);
+ fflush(stderr);
exit(EXIT_FAILURE);
}
#if DEBUG
analyze_BODY();
if (tokenType != FIN) {
fprintf(stderr, "%s follows error on %s\n", __func__, tokenTypestr[tokenType]);
+ fflush(stderr);
exit(EXIT_FAILURE);
}
fprintf(stdout, "successful syntactic analysis\n");
#if DEBUG
fprintf(stdout, "leaving %s\n", __func__);
#endif
+ fflush(stdout);
}