1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-01 04:58:35 +03:00

fixed the handling of much more general C expressions in value()

statements
(This used to be commit 8b38041f6530e42c5d294a5947c15a7f6a2d3c61)
This commit is contained in:
Andrew Tridgell 2003-11-16 05:05:38 +00:00
parent 1f4fe8e486
commit b5fccdd9ee

View File

@ -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])" }}