emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/parser-generator 5b45b2b 235/434: Improved comments


From: ELPA Syncer
Subject: [elpa] externals/parser-generator 5b45b2b 235/434: Improved comments
Date: Mon, 29 Nov 2021 15:59:48 -0500 (EST)

branch: externals/parser-generator
commit 5b45b2b4313b9fe25840d9c6b23da8c6c1a80a95
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    Improved comments
---
 parser-generator-lr.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/parser-generator-lr.el b/parser-generator-lr.el
index 03eca28..42c0858 100644
--- a/parser-generator-lr.el
+++ b/parser-generator-lr.el
@@ -78,7 +78,6 @@
                               (if eff
                                   ;; Go through eff-items and see if any item 
is a valid look-ahead of grammar
                                   ;; in that case save in action table a shift 
action here
-                                  ;; TODO Verify that stuff like aeee is valid 
look-ahead if look-ahead is 4
                                   (let ((eff-index 0)
                                         (eff-item)
                                         (eff-length (length eff))
@@ -129,7 +128,6 @@
                                      production
                                      lr-item))
 
-                                  ;; TODO Add production length here to avoid 
retrieving it later
                                   (parser-generator--debug
                                    (message "production: %s (%s)" production 
production-number)
                                    (message "u: %s" u))
@@ -695,7 +693,7 @@
                translation
                translation-symbol-table
                history)
-  "Perform a LR-parse via lex-analyzer, optionally at INPUT-TAPE-INDEX with 
PUSHDOWN-LIST, OUTPUT, TRANSLATION and HISTORY."
+  "Perform a LR-parse via lex-analyzer, optionally at INPUT-TAPE-INDEX with 
PUSHDOWN-LIST, OUTPUT, TRANSLATION, TRANSLATION-SYMBOL-TABLE and HISTORY."
   (unless input-tape-index
     (setq input-tape-index 1))
   (unless pushdown-list



reply via email to

[Prev in Thread] Current Thread [Next in Thread]