Add OptionalValue declarations to each of the non-Swift targets, so that
this can be used in the test templates. It is a no-op for every target other than Swift. This pairs with cset 8251422b.
This commit is contained in:
parent
dbe832766d
commit
5b37b3e236
|
@ -35,5 +35,3 @@ INC : '++' ;
|
|||
DEC : '--' ;
|
||||
WS : (' '|'\n') -> skip;
|
||||
>>
|
||||
|
||||
/* other targets'.test.stg added: OptionalValue(value) ::= "<value>" */
|
||||
|
|
|
@ -278,7 +278,6 @@ Declare_pred() ::= <<this.pred = function(v) {
|
|||
>>
|
||||
|
||||
Invoke_pred(v) ::= <<this.pred(<v>)>>
|
||||
|
||||
ContextRuleFunction(ctx, rule) ::= "<ctx>.<rule>"
|
||||
StringType() ::= "String"
|
||||
ContextMember(ctx, subctx, member) ::= "<ctx>.<subctx>.<member>"
|
||||
|
|
|
@ -332,7 +332,6 @@ func pred(v bool) bool {
|
|||
>>
|
||||
|
||||
Invoke_pred(v) ::= <<pred(<v>)>>
|
||||
|
||||
ContextRuleFunction(ctx, rule) ::= "<ctx>.<rule>"
|
||||
StringType() ::= "String"
|
||||
ContextMember(ctx, subctx, member) ::= "<ctx>.<subctx>.<member; format={cap}>"
|
||||
|
|
Loading…
Reference in New Issue