From cac05eef51dd0b31b95ade9f0c4c7ed7d166b96d Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Thu, 1 Nov 2012 19:22:13 -0500 Subject: Fix "is not defined" warning. (cherry picked from commit 3e72121ffc4e5dd333a512def63860d3697380fe) --- katapult/plugins/catalogs/calculatorcatalog/parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'katapult') 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, \ -- cgit v1.2.1