aboutsummaryrefslogtreecommitdiff
path: root/libstorycode
diff options
context:
space:
mode:
authorThomas White <taw@physics.org>2019-02-14 16:04:33 +0100
committerThomas White <taw@physics.org>2019-02-14 16:04:33 +0100
commitb2276977058b8a434952b500a1a13dacfa9303ab (patch)
tree0f1c6a70201d4d7525b7efdd392d41df3f21e291 /libstorycode
parentc9456a1a73a8b781f4460d48c541a8977e249b91 (diff)
Move prefix to flex/bison input files
Diffstat (limited to 'libstorycode')
-rw-r--r--libstorycode/storycode.l1
-rw-r--r--libstorycode/storycode.y1
2 files changed, 2 insertions, 0 deletions
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