summaryrefslogtreecommitdiff
path: root/source4/build/pidl
diff options
context:
space:
mode:
Diffstat (limited to 'source4/build/pidl')
-rw-r--r--source4/build/pidl/idl.gram9
1 files changed, 7 insertions, 2 deletions
diff --git a/source4/build/pidl/idl.gram b/source4/build/pidl/idl.gram
index 4605c4c712..e349a532ff 100644
--- a/source4/build/pidl/idl.gram
+++ b/source4/build/pidl/idl.gram
@@ -135,8 +135,13 @@ type :
text: /[\w\s\..?-]*/
-anytext: call(s?)
- {{ "$item[1][0]" }}
+text2: /[\w\s\*\>\/\..?-]*/
+
+anytext: text2 '(' <commit> anytext ')' anytext
+ {{ "$item[1]($item[4])$item[6]" }}
+ | text2 '+' anytext
+ {{ "$item[1]+$item[3]" }}
+ | text2
call: expression '(' <commit> expression ')'
{{ "$item[1]($item[4])" }}