]> git.saurik.com Git - bison.git/blobdiff - src/output.c
maint: factor the handling of %printer and %destructor
[bison.git] / src / output.c
index 76895d661471269e81fe757ffa4b10282b8c06f5..c967fa7a477b9985eac70ae4ed158e2334c60c0d 100644 (file)
@@ -23,7 +23,6 @@
 
 #include <concat-filename.h>
 #include <configmake.h>
-#include <error.h>
 #include <filename.h>
 #include <get-errno.h>
 #include <quotearg.h>
@@ -439,7 +438,7 @@ prepare_symbol_definitions (void)
 
 #define CODE_PROP(PropName)                                             \
       do {                                                              \
-        code_props const *p = symbol_ ## PropName ## _get (sym);        \
+        code_props const *p = symbol_code_props_get (sym, PropName);    \
         SET_KEY("has_" #PropName);                                      \
         MUSCLE_INSERT_INT (key, !!p->code);                             \
                                                                         \