mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-21 02:03:03 +00:00
(prepare): Use xstrdup to convert char const * to char *, to avoid GCC
warning.
This commit is contained in:
@@ -306,9 +306,9 @@ prepare_states (void)
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
/*----------------------------------.
|
/*---------------------------------.
|
||||||
| Output the user actions to OOUT. |
|
| Output the user actions to OUT. |
|
||||||
`----------------------------------*/
|
`---------------------------------*/
|
||||||
|
|
||||||
static void
|
static void
|
||||||
user_actions_output (FILE *out)
|
user_actions_output (FILE *out)
|
||||||
@@ -620,7 +620,7 @@ prepare (void)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Parse the skeleton file and output the needed parsers. */
|
/* Parse the skeleton file and output the needed parsers. */
|
||||||
muscle_insert ("skeleton", skeleton);
|
muscle_insert ("skeleton", xstrdup (skeleton));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user