diff options
author | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-04-07 12:29:52 +0100 |
---|---|---|
committer | Tim-Philipp Müller <tim.muller@collabora.co.uk> | 2010-04-07 19:09:24 +0100 |
commit | 189facea5070805b883ca6bc7ebe51d685a25f33 (patch) | |
tree | 10739ba8f11884f2625bf2f20e5e7ecb8f14fe02 /gst/parse/grammar.y | |
parent | a26879b7a0d170f38d76973f15f3518b00ef6c32 (diff) | |
download | gstreamer-189facea5070805b883ca6bc7ebe51d685a25f33.tar.gz |
parse: fix more compiler warnings
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.
Diffstat (limited to 'gst/parse/grammar.y')
-rw-r--r-- | gst/parse/grammar.y | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gst/parse/grammar.y b/gst/parse/grammar.y index cd900cf880..f90d1cdb77 100644 --- a/gst/parse/grammar.y +++ b/gst/parse/grammar.y @@ -28,6 +28,12 @@ #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); |