the end of the last included file AND we still have a macro to expand.
autoconf uses this in wine, and it turns out other m4 also do things that
way (not only gnu m4).
okay fries@, millert@
-/* $OpenBSD: main.c,v 1.74 2006/03/24 08:03:44 espie Exp $ */
+/* $OpenBSD: main.c,v 1.75 2008/08/16 12:19:49 espie Exp $ */
/* $NetBSD: main.c,v 1.12 1997/02/08 23:54:49 cgd Exp $ */
/*-
}
}
} else if (t == EOF) {
- if (sp > -1) {
+ if (sp > -1 && ilevel <= 0) {
warnx( "unexpected end of input, unclosed parenthesis:");
dump_stack(paren, PARLEV);
exit(1);