aboutsummaryrefslogtreecommitdiff
path: root/evil-vars.el
diff options
context:
space:
mode:
authorAxel Forsman <axelsfor@gmail.com>2023-02-08 12:24:47 +0100
committerAxel Forsman <axelsfor@gmail.com>2023-02-14 10:56:47 +0100
commit56b43b6f7e014e905f85df1c542c67f46ea99566 (patch)
tree0e6e2ef43d2c5f9a66d76f1c29640a3dc38512bd /evil-vars.el
parentbb7e4bf95f4f9e97af70b270712a7ceb92a29907 (diff)
Compile Ex parser
This commit reworks the function evil-parser into a macro that in turn expands to a parser. Some features that were not utilized have been dropped: * The GREEDY flag allowed backtracking to kick in instead of reporting an incomplete match. However the rules in cases where they are not deterministic are already listed in order of longest first. Lookaheads can still be used for this purpose. * Parsing is now always whitespace insensitive, but this is reversible without any hassle. * String replacement semantic actions. * (+ ...) rules no longer implicitly use seq. * Computation of the syntax tree has been deferred until when completion is requested.
Diffstat (limited to 'evil-vars.el')
-rw-r--r--evil-vars.el3
1 files changed, 0 insertions, 3 deletions
diff --git a/evil-vars.el b/evil-vars.el
index b076bf1..b586983 100644
--- a/evil-vars.el
+++ b/evil-vars.el
@@ -1925,9 +1925,6 @@ See `evil-ex-init-shell-argument-completion'.")
(defvar evil-ex-expression nil
"The evaluation tree.")
-(defvar evil-ex-tree nil
- "The syntax tree.")
-
(defvar evil-ex-reverse-range nil
"Whether the current ex range was entered reversed.")