mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-04-26 04:36:20 +00:00
Revert last Makefile.am change, and fix it correctly. I _think_ this won't break with earlier flex versions, otherwi...
Original commit message from CVS: Revert last Makefile.am change, and fix it correctly. I _think_ this won't break with earlier flex versions, otherwise let me know.
This commit is contained in:
parent
d5ec52c3dd
commit
7421b1f671
3 changed files with 2 additions and 6 deletions
2
common
2
common
|
@ -1 +1 @@
|
||||||
Subproject commit 50879a63c4fa8f2544d4d89a9dbfa0f5720c3266
|
Subproject commit 0ce4bbf0bc51c08694a8a1e0bec7624094b043d6
|
|
@ -6,10 +6,6 @@ CLEANFILES = grammar.tab.h grammar.tab.c lex._gst_parse_yy.c grammar.output
|
||||||
|
|
||||||
EXTRA_DIST = grammar.y parse.l types.h
|
EXTRA_DIST = grammar.y parse.l types.h
|
||||||
|
|
||||||
# flex 2.5.31 produces code that causes compilation warnings
|
|
||||||
# (and thus errors)
|
|
||||||
DISABLE_FLEX_WARNING = -Wno-unused-function
|
|
||||||
|
|
||||||
nodist_libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
|
nodist_libgstparse_la_SOURCES = lex._gst_parse_yy.c grammar.tab.c
|
||||||
libgstparse_la_CFLAGS = $(GST_CFLAGS) $(DISABLE_FLEX_WARNING)
|
libgstparse_la_CFLAGS = $(GST_CFLAGS) $(DISABLE_FLEX_WARNING)
|
||||||
libgstparse_la_LIBADD = $(LIBGST_LIBS)
|
libgstparse_la_LIBADD = $(LIBGST_LIBS)
|
||||||
|
|
|
@ -25,7 +25,6 @@
|
||||||
#endif // G_HAVE_ISO_VARARGS
|
#endif // G_HAVE_ISO_VARARGS
|
||||||
|
|
||||||
#define YY_DECL int _gst_parse_yylex (YYSTYPE *lvalp)
|
#define YY_DECL int _gst_parse_yylex (YYSTYPE *lvalp)
|
||||||
#define YY_NO_UNPUT
|
|
||||||
%}
|
%}
|
||||||
|
|
||||||
_operators [(){}.:!,=]
|
_operators [(){}.:!,=]
|
||||||
|
@ -47,6 +46,7 @@ _binref {_identifier}[[:space:]]*"."[[:space:]]*"("
|
||||||
|
|
||||||
%x value
|
%x value
|
||||||
%option noyywrap
|
%option noyywrap
|
||||||
|
%option nounput
|
||||||
%%
|
%%
|
||||||
|
|
||||||
{_assignment} {
|
{_assignment} {
|
||||||
|
|
Loading…
Reference in a new issue