Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/SimpleLanguage.atg @ 7924:b6a87711eca0
replaced tabs with spaces
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Tue, 05 Mar 2013 13:11:36 +0100 |
parents | 698cd036a1ca |
children | 71991b7a0f14 |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/SimpleLanguage.atg Mon Mar 04 17:20:55 2013 +0100 +++ b/graal/com.oracle.truffle.sl/src/com/oracle/truffle/sl/parser/SimpleLanguage.atg Tue Mar 05 13:11:36 2013 +0100 @@ -131,16 +131,16 @@ | NumericLiteral<out result> | - Ternary<out result> + Ternary<out result> | "(" Expression<out result> ")" ) . -Ternary<out TypedNode result> (. TypedNode condition, thenPart, elsePart; .) +Ternary<out TypedNode result> (. TypedNode condition, thenPart, elsePart; .) = "#" Expression<out condition> "?" Expression<out thenPart> ":" Expression<out elsePart> - (. result = factory.createTernary(condition, thenPart, elsePart); .) + (. result = factory.createTernary(condition, thenPart, elsePart); .) . TimeRef<out TypedNode result>