branch: externals/parser-generator commit 840c4186be6642befc4816d895358a6dfa050dac Author: Christian Johansson <christ...@cvj.se> Commit: Christian Johansson <christ...@cvj.se>
Improved comment about follow function --- parser.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.el b/parser.el index 7b06b8b..c9fbb2d 100644 --- a/parser.el +++ b/parser.el @@ -565,7 +565,7 @@ (setq first-list (sort first-list 'parser--sort-list)) first-list)))) -;; Definition p. 343, FOLLOW(β) = w, w is the set {w|β=>*aβy and w is in FIRST(y)} +;; Definition p. 343, FOLLOW(β) = w, w is the set {w | S =>* αβγ and w is in FIRST(γ)} (defun parser--follow (β) "Calculate follow-set of Β." ;; Make sure argument is a list