Mercurial > hg > graal-compiler
diff graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/parser/AbstractParser.java @ 16832:13cf9b6b325c
Truffle-DSL: implemented import guards feature.
author | Christian Humer <christian.humer@gmail.com> |
---|---|
date | Thu, 14 Aug 2014 16:49:18 +0200 |
parents | 45c8f64978d6 |
children |
line wrap: on
line diff
--- a/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/parser/AbstractParser.java Thu Aug 14 15:02:17 2014 +0200 +++ b/graal/com.oracle.truffle.dsl.processor/src/com/oracle/truffle/dsl/processor/parser/AbstractParser.java Thu Aug 14 16:49:18 2014 +0200 @@ -83,7 +83,7 @@ // redirect message MessageContainer original = message.getOriginalContainer(); String text = wrapText(original.getMessageElement(), original.getMessageAnnotation(), message.getText()); - Message redirectedMessage = new Message(null, baseContainer, text, message.getKind()); + Message redirectedMessage = new Message(null, null, baseContainer, text, message.getKind()); model.getMessages().remove(i); baseContainer.getMessages().add(redirectedMessage); }