summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDarrell Anderson <humanreadable@yahoo.com>2012-11-01 19:22:13 -0500
committerSlávek Banko <slavek.banko@axis.cz>2012-12-30 02:44:05 +0100
commitcac05eef51dd0b31b95ade9f0c4c7ed7d166b96d (patch)
tree5b476b802a7f61724b94cb142e43e452738c18f1
parentf58efee58cce0a647b38cd6424078cf77b5b6f35 (diff)
downloadkatapult-cac05eef51dd0b31b95ade9f0c4c7ed7d166b96d.tar.gz
katapult-cac05eef51dd0b31b95ade9f0c4c7ed7d166b96d.zip
Fix "is not defined" warning.
(cherry picked from commit 3e72121ffc4e5dd333a512def63860d3697380fe)
-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, \