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:
Ewan Mellor 2016-10-04 17:37:07 -07:00 committed by parrt
parent dbe832766d
commit 5b37b3e236
3 changed files with 0 additions and 4 deletions

View File

@ -35,5 +35,3 @@ INC : '++' ;
DEC : '--' ;
WS : (' '|'\n') -> skip;
>>
/* other targets'.test.stg added: OptionalValue(value) ::= "<value>" */

View File

@ -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>"

View File

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