summaryrefslogtreecommitdiff
path: root/source4/build/pidl/idl.yp
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-10-14 10:30:08 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:59:53 -0500
commitdc94f05f62de8e2f0088c56cef16889eef926df7 (patch)
tree6f48910425c8ca42a8203026bbb7e85667c1cbfc /source4/build/pidl/idl.yp
parent12f2ac5857fd01615a05a6b52d78d97900e0d26c (diff)
downloadsamba-dc94f05f62de8e2f0088c56cef16889eef926df7.tar.gz
samba-dc94f05f62de8e2f0088c56cef16889eef926df7.tar.bz2
samba-dc94f05f62de8e2f0088c56cef16889eef926df7.zip
r2973: Allow comma's inside parentheses in property arguments
(This used to be commit ab2a788fe75ddaf8ff493477f2006a03959e6ab5)
Diffstat (limited to 'source4/build/pidl/idl.yp')
-rw-r--r--source4/build/pidl/idl.yp7
1 files changed, 6 insertions, 1 deletions
diff --git a/source4/build/pidl/idl.yp b/source4/build/pidl/idl.yp
index 981b0be612..bf94bedcdf 100644
--- a/source4/build/pidl/idl.yp
+++ b/source4/build/pidl/idl.yp
@@ -197,6 +197,11 @@ listtext:
| listtext ',' anytext { "$_[1] $_[3]" }
;
+commalisttext:
+ anytext
+ | commalisttext ',' anytext { "$_[1],$_[3]" }
+;
+
anytext: #empty
{ "" }
| identifier | constant | text
@@ -208,7 +213,7 @@ anytext: #empty
| anytext '&' anytext { "$_[1]$_[2]$_[3]" }
| anytext '/' anytext { "$_[1]$_[2]$_[3]" }
| anytext '+' anytext { "$_[1]$_[2]$_[3]" }
- | anytext '(' anytext ')' anytext { "$_[1]$_[2]$_[3]$_[4]$_[5]" }
+ | anytext '(' commalisttext ')' anytext { "$_[1]$_[2]$_[3]$_[4]$_[5]" }
;
identifier: IDENTIFIER