mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-24 00:18:12 +00:00
maint: add missing const.
* src/symtab.h, src/symtab.c (symbol_print): here.
This commit is contained in:
1 parent
0560fa24d6
commit
c5289832f2
2 files changed
+2
-2
No files matched your search
+1
-1
@@ -147,7 +147,7 @@ semantic_type_new (uniqstr tag, const location *loc)
|
||||
fprintf (f, " %s { %s }", #Attr, s->props[Attr].code)
|
||||
|
||||
void
|
||||
symbol_print (symbol *s, FILE *f)
|
||||
symbol_print (symbol const *s, FILE *f)
|
||||
{
|
||||
if (s)
|
||||
{
|
||||
|
||||
+1
-1
@@ -149,7 +149,7 @@ symbol *dummy_symbol_get (location loc);
|
||||
`--------------------*/
|
||||
|
||||
/** Print a symbol (for debugging). */
|
||||
void symbol_print (symbol *s, FILE *f);
|
||||
void symbol_print (symbol const *s, FILE *f);
|
||||
|
||||
/** Is this a dummy nonterminal? */
|
||||
bool symbol_is_dummy (const symbol *sym);
|
||||
|
||||
Reference in new issue
Block a user