branch: externals/parser-generator commit 5b45b2b4313b9fe25840d9c6b23da8c6c1a80a95 Author: Christian Johansson <christ...@cvj.se> Commit: Christian Johansson <christ...@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