1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 18:40:39 -08:00

* emacs-lisp/smie.el (comment-string-strip): Declare function.

(smie-precs-precedence-table): Fix typo in docstring.
This commit is contained in:
Juanma Barranquero 2010-06-09 13:40:50 +02:00
parent f64ab8fb4c
commit ee8359ba5a
2 changed files with 5 additions and 1 deletions

View file

@ -68,6 +68,7 @@
(eval-when-compile (require 'cl))
(defvar comment-continue)
(declare-function comment-string-strip "newcomment" (str beforep afterp))
;;; Building precedence level tables from BNF specs.
@ -89,7 +90,7 @@
"Compute a 2D precedence table from a list of precedences.
PRECS should be a list, sorted by precedence (e.g. \"+\" will
come before \"*\"), of elements of the form \(left OP ...)
or (right OP ...) or (nonassoc OP ...) or (assoc OP ...). All operators in
or (right OP ...) or (nonassoc OP ...) or (assoc OP ...). All operators in
one of those elements share the same precedence level and associativity."
(let ((prec2-table (make-hash-table :test 'equal)))
(dolist (prec precs)