-/* Top level entry point of bison,
- Copyright (C) 1984, 1986, 1989, 1992, 1995, 2000, 2001, 2002
+/* Top level entry point of Bison.
+
+ Copyright (C) 1984, 1986, 1989, 1992, 1995, 2000, 2001, 2002, 2004
Free Software Foundation, Inc.
This file is part of Bison, the GNU Compiler Compiler.
timevar_pop (TV_LALR);
/* Find and record any conflicts: places where one token of
- lookahead is not enough to disambiguate the parsing. In file
+ look-ahead is not enough to disambiguate the parsing. In file
conflicts. Also resolve s/r conflicts based on precedence
declarations. */
timevar_push (TV_CONFLICTS);
if (complaint_issued)
goto finish;
- /* Lookaheads are no longer needed. */
+ /* Look-ahead tokens are no longer needed. */
timevar_push (TV_FREE);
lalr_free ();
timevar_pop (TV_FREE);
/* If using alloca.c, flush the alloca'ed memory for the benefit of
people running Bison as a library in IDEs. */
#if C_ALLOCA
- alloca (0);
+ {
+ extern void *alloca (size_t);
+ alloca (0);
+ }
#endif
timevar_pop (TV_FREE);