mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-13 14:23:04 +00:00
* src/output.c (output_definitions): New function, which copies
attrs_obstack in the '%%definitions' directive. * src/bison.simple: Add `%%definitions'.
This commit is contained in:
@@ -33,6 +33,9 @@
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
/* Copy the user declarations. */
|
||||
%%definitions
|
||||
|
||||
#ifndef __cplusplus
|
||||
# ifndef __STDC__
|
||||
# define const
|
||||
|
||||
Reference in New Issue
Block a user