parse: fix more compiler warnings
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 7 Apr 2010 11:29:52 +0000 (12:29 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Wed, 7 Apr 2010 18:09:24 +0000 (19:09 +0100)
Fix 'grammar.tab.c:815:6: warning: "YYENABLE_NLS" is not defined'
compiler warning and the same for YYLTYPE_IS_TRIVIAL. The two
translated strings aren't particularly helpful, so just define
YYENABLE_NLS to 0.

gst/parse/grammar.y

index cd900cf..f90d1cd 100644 (file)
 #define YYERROR_VERBOSE 1
 #define YYLEX_PARAM scanner
 
+#define YYENABLE_NLS 0
+
+#ifndef YYLTYPE_IS_TRIVIAL
+#define YYLTYPE_IS_TRIVIAL 0
+#endif
+
 typedef void* yyscan_t;
 
 int _gst_parse_yylex (void * yylval_param , yyscan_t yyscanner);