portability: rename accept to acceptsymbol because of MSVC

MSVC already defines this symbol.

* src/symtab.h, src/symtab.c (accept): Rename as...
(acceptsymbol): this.
Adjust dependencies.
This commit is contained in:
Maarten De Braekeleer
2020-07-30 20:53:35 +02:00
committed by Akim Demaille
parent de4f41eab7
commit ad6f600bb1
5 changed files with 12 additions and 12 deletions

View File

@@ -245,7 +245,7 @@ extern symbol *eoftoken;
/** The genuine start symbol.
$accept: start-symbol $end */
extern symbol *accept;
extern symbol *acceptsymbol;
/** The user start symbol. */
extern symbol *startsymbol;