summaryrefslogtreecommitdiffstats
path: root/katapult/plugins/catalogs
diff options
context:
space:
mode:
Diffstat (limited to 'katapult/plugins/catalogs')
-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, \