summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-11-01 19:22:13 -0500
committerDarrell Anderson <[email protected]>2012-11-01 19:22:13 -0500
commit3e72121ffc4e5dd333a512def63860d3697380fe (patch)
tree8f4735106e1a2a8725411bd93304ed569ae2e4c7
parent2e04f6c7ca00f7e85243edae0111956c9875847f (diff)
downloadkatapult-3e72121ffc4e5dd333a512def63860d3697380fe.tar.gz
katapult-3e72121ffc4e5dd333a512def63860d3697380fe.zip
Fix "is not defined" warning.
-rw-r--r--katapult/plugins/catalogs/calculatorcatalog/parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/katapult/plugins/catalogs/calculatorcatalog/parser.cpp b/katapult/plugins/catalogs/calculatorcatalog/parser.cpp
index 995cbb2..390785e 100644
--- a/katapult/plugins/catalogs/calculatorcatalog/parser.cpp
+++ b/katapult/plugins/catalogs/calculatorcatalog/parser.cpp
@@ -480,7 +480,7 @@ while (0)
we won't break user code: when these are the locations we know. */
#ifndef YY_LOCATION_PRINT
-# if YYLTYPE_IS_TRIVIAL
+# ifdef YYLTYPE_IS_TRIVIAL
# define YY_LOCATION_PRINT(File, Loc) \
fprintf (File, "%d.%d-%d.%d", \
(Loc).first_line, (Loc).first_column, \