mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 03:35:21 +00:00
make the parser accept chained caps, too
Original commit message from CVS: make the parser accept chained caps, too
This commit is contained in:
parent
439b5101ba
commit
012cb2cb6f
1 changed files with 3 additions and 2 deletions
|
@ -39,10 +39,11 @@ _ref {_identifier}"."{_identifier}?
|
|||
_binref {_identifier}[[:space:]]*"."[[:space:]]*"("
|
||||
|
||||
/* links */
|
||||
_capschar ("\\".)|([^[:space:]!.,;()\]\[])
|
||||
_capschar ("\\".)|([^[:space:]\;!\.\,\(\)\]\[])
|
||||
_capsstring {_capschar}+|("\""([^\"]|"\\\"")*"\"")|("'"([^']|"\\\"")*"'")
|
||||
_mimetype ({_capschar}+"/"{_capschar}+)|("\""([^\"]|"\\\"")*"\"")|("'"([^']|"\\\"")*"'")
|
||||
_link ("!"[[:space:]]*{_mimetype}(","([^!]|{_capsstring})+)?[[:space:]]*"!")|("!")
|
||||
_caps {_mimetype}(","[^!]|{_capsstring})*
|
||||
_link ("!"[[:space:]]*{_caps}([[:space:]]*";"[[:space:]]*{_caps})*[[:space:]]*"!")|("!")
|
||||
|
||||
%x value
|
||||
%option noyywrap
|
||||
|
|
Loading…
Reference in a new issue