mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 09:00:54 +00:00
c271f89d4a
Summary: With the pattern as a mandatory argument. Reviewers: thiblahute Differential Revision: http://phabricator.freedesktop.org/D68
43 lines
743 B
Text
43 lines
743 B
Text
%{
|
|
#include "ges-structure-parser.h"
|
|
|
|
%}
|
|
|
|
%option noyywrap
|
|
%option nounput
|
|
%option reentrant
|
|
%option extra-type="GESStructureParser *"
|
|
%option never-interactive
|
|
%option noinput
|
|
|
|
CLIP [ ]+\+clip[ ]+
|
|
TEST_CLIP [ ]+\+test-clip[ ]+
|
|
TRANSITION [ ]+\+transition[ ]+
|
|
EFFECT [ ]+\+effect[ ]+
|
|
|
|
SETTER [ ]+set-[^ ]+[ ]+
|
|
|
|
%%
|
|
|
|
\"(\\.|[^"])*\" {
|
|
ges_structure_parser_parse_string (yyextra, yytext, FALSE);
|
|
}
|
|
|
|
{CLIP}|{TRANSITION}|{EFFECT}|{TEST_CLIP} {
|
|
ges_structure_parser_parse_symbol (yyextra, yytext);
|
|
}
|
|
|
|
{SETTER} {
|
|
ges_structure_parser_parse_setter (yyextra, yytext);
|
|
}
|
|
|
|
[ \t\n]+ {
|
|
ges_structure_parser_parse_whitespace (yyextra);
|
|
}
|
|
|
|
. {
|
|
/* add everything else */
|
|
ges_structure_parser_parse_default (yyextra, yytext);
|
|
}
|
|
|
|
%%
|