forked from jasder/antlr
tweak
[git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9302]
This commit is contained in:
parent
3729529f25
commit
91ccd76e65
|
@ -38,7 +38,7 @@ public class SemPred extends Action {
|
|||
|
||||
public SemPred(OutputModelFactory factory, GrammarAST ast) {
|
||||
super(factory,ast);
|
||||
this.msg = ((PredAST)ast).getOption("msg");
|
||||
this.msg = ((PredAST)ast).getOption("fail");
|
||||
if ( msg==null ) {
|
||||
msg = "failed predicate: "+ast.getText();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue