From 3740b2899529da7fc25ef81c919e4d6ee6a71726 Mon Sep 17 00:00:00 2001 From: Massimo Santini Date: Mon, 13 May 2019 16:21:41 +0200 Subject: [PATCH] Added a missing quote. Added a closing quote. --- doc/actions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/actions.md b/doc/actions.md index ef51c8f4c..9eb61eb52 100644 --- a/doc/actions.md +++ b/doc/actions.md @@ -84,7 +84,7 @@ Using a rule label looks like this: returnStat : 'return' e=expr {System.out.println("matched "+e.text);} ; ``` -You can also use `$ followed by the name of the attribute to access the value associated with the currently executing rule. For example, `$start` is the starting token of the current rule. +You can also use `$` followed by the name of the attribute to access the value associated with the currently executing rule. For example, `$start` is the starting token of the current rule. ``` returnStat : 'return' expr {System.out.println("first token "+$start.getText());} ;