From 3e72121ffc4e5dd333a512def63860d3697380fe Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 1 Nov 2012 19:22:13 -0500 Subject: [PATCH] Fix "is not defined" warning. --- katapult/plugins/catalogs/calculatorcatalog/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, \