Commits

Anonymous committed 24e807f

Rename variable for consistence
Keywords: rename

* fg-grammar.lisp (parse-grammar):
Change FIRST-NTERM-ID to FIRST-NTERMINAL-ID.

  • Participants
  • Parent commits 2e8a46c

Comments (0)

Files changed (1)

File generator/fg-grammar.lisp

                 (list (list +START+ '(:action (function identity))
                             initial))))
   (with-new-grammar-environment
-    (multiple-value-bind (terminals first-nterm-id)  (init-env terminals)
+    (multiple-value-bind (terminals first-nterminal-id)  (init-env terminals)
       (let* ((proc-rules (mapcar #'process-rule
                                  (expand-rules
                                   (mapcar #'generate-action rules))))
                                  :collect nterm)
                           #'<
                           :key #'nterm-id)))
-        (let ((grammar (make-grammar :first-nterminal-id first-nterm-id
+        (let ((grammar (make-grammar :first-nterminal-id first-nterminal-id
                                      :rules proc-rules
                                      :terminals terminals
                                      :nterminals nterminals