mirror of
https://github.com/rbock/sqlpp11.git
synced 2024-11-15 20:31:16 +08:00
Add ddlBracedArguments to expressions
This commit is contained in:
parent
c84f34d6f9
commit
6ae27a922e
@ -52,6 +52,7 @@ ddlBracedExpression = pp.Forward()
|
||||
ddlFunctionCall = pp.Forward()
|
||||
ddlCastEnd = "::" + ddlTerm
|
||||
ddlCast = ddlString + ddlCastEnd
|
||||
ddlBracedArguments = pp.Forward()
|
||||
ddlExpression = pp.OneOrMore(
|
||||
ddlBracedExpression
|
||||
| ddlFunctionCall
|
||||
@ -61,8 +62,10 @@ ddlExpression = pp.OneOrMore(
|
||||
| ddlString
|
||||
| ddlTerm
|
||||
| ddlNumber
|
||||
| ddlBracedArguments
|
||||
)
|
||||
|
||||
ddlBracedArguments << ddlLeft + pp.delimitedList(ddlExpression) + ddlRight
|
||||
ddlBracedExpression << ddlLeft + ddlExpression + ddlRight
|
||||
|
||||
ddlArguments = pp.Suppress(pp.Group(pp.delimitedList(ddlExpression)))
|
||||
|
Loading…
Reference in New Issue
Block a user