From 91ccd76e654324003431a015ee0bfa7115205761 Mon Sep 17 00:00:00 2001 From: parrt Date: Thu, 10 Nov 2011 14:22:58 -0800 Subject: [PATCH] tweak [git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9302] --- tool/src/org/antlr/v4/codegen/model/SemPred.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tool/src/org/antlr/v4/codegen/model/SemPred.java b/tool/src/org/antlr/v4/codegen/model/SemPred.java index 5722d3ae5..5bed0fe80 100644 --- a/tool/src/org/antlr/v4/codegen/model/SemPred.java +++ b/tool/src/org/antlr/v4/codegen/model/SemPred.java @@ -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(); }