From b2276977058b8a434952b500a1a13dacfa9303ab Mon Sep 17 00:00:00 2001 From: Thomas White Date: Thu, 14 Feb 2019 16:04:33 +0100 Subject: Move prefix to flex/bison input files --- libstorycode/storycode.l | 1 + libstorycode/storycode.y | 1 + 2 files changed, 2 insertions(+) (limited to 'libstorycode') diff --git a/libstorycode/storycode.l b/libstorycode/storycode.l index e8fd70a..663a4b1 100644 --- a/libstorycode/storycode.l +++ b/libstorycode/storycode.l @@ -25,6 +25,7 @@ #include "storycode_parse.h" %} +%option prefix="sc" %option noyywrap nounput noinput %s string diff --git a/libstorycode/storycode.y b/libstorycode/storycode.y index 625f080..38ce93b 100644 --- a/libstorycode/storycode.y +++ b/libstorycode/storycode.y @@ -28,6 +28,7 @@ %define api.value.type {char *} %define api.token.prefix {SC_} +%define api.prefix {sc} %token STYLES SLIDE %token NARRATIVE %token PRESTITLE -- cgit v1.2.3