From 2e8a5f391a4f065d1ca63c814ab5d5685afd429d Mon Sep 17 00:00:00 2001 From: parrt Date: Wed, 4 Jan 2012 17:41:42 -0800 Subject: [PATCH] no more -trace [git-p4: depot-paths = "//depot/code/antlr4/main/": change = 9826] --- CHANGES.txt | 3 ++- tool/src/org/antlr/v4/Tool.java | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index 98231108c..abda2a014 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -5,4 +5,5 @@ Jan 4, 2012 * '_' was allowed first in symbol names in grammar * fix unit tests * Allow labels in left-recursive rules -* lr rules now gen only 1 rule e->e not e->e_ etc... altered tests to build parse trees. \ No newline at end of file +* lr rules now gen only 1 rule e->e not e->e_ etc... altered tests to build parse trees. +* no more -trace, use Parser.setTrace(true) \ No newline at end of file diff --git a/tool/src/org/antlr/v4/Tool.java b/tool/src/org/antlr/v4/Tool.java index 754cfebe8..f8aa8e207 100644 --- a/tool/src/org/antlr/v4/Tool.java +++ b/tool/src/org/antlr/v4/Tool.java @@ -103,7 +103,6 @@ public class Tool { new Option("printGrammar", "-print", "print out the grammar without actions"), new Option("debug", "-debug", "generate a parser that emits debugging events"), new Option("profile", "-profile", "generate a parser that computes profiling information"), - new Option("trace", "-trace", "generate a recognizer that traces rule entry/exit"), new Option("generate_ATN_dot", "-atn", "generate rule augmented transition networks"), new Option("grammarEncoding", "-encoding", OptionArgType.STRING, "specify grammar file encoding; e.g., euc-jp"), new Option("msgFormat", "-message-format", OptionArgType.STRING, "specify output style for messages"),