projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a26879b
)
parse: fix more compiler warnings
author
Tim-Philipp Müller
<tim.muller@collabora.co.uk>
Wed, 7 Apr 2010 11:29:52 +0000
(12:29 +0100)
committer
Tim-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
patch
|
blob
|
history
diff --git
a/gst/parse/grammar.y
b/gst/parse/grammar.y
index
cd900cf
..
f90d1cd
100644
(file)
--- 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);