From: Benjamin Otte Date: Sun, 18 May 2003 02:30:00 +0000 (+0000) Subject: make the parser accept chained caps, too X-Git-Tag: BRANCH-ERROR-ROOT~215 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=012cb2cb6f9bc59d2a6c2997d3443094ea4ea19c;p=platform%2Fupstream%2Fgstreamer.git make the parser accept chained caps, too Original commit message from CVS: make the parser accept chained caps, too --- diff --git a/gst/parse/parse.l b/gst/parse/parse.l index 71d978c..b4746978 100644 --- a/gst/parse/parse.l +++ b/gst/parse/parse.l @@ -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