From 610d99e64c02451d7beeeebeb0e29bbdb7d08c17 Mon Sep 17 00:00:00 2001 From: Matthias Benkard Date: Mon, 7 Dec 2009 11:36:23 +0100 Subject: Fix a typo in the Lisp code prettifier. Ignore-this: 6aa20b183492176b56a6a8a2f2559850 darcs-hash:056d7c973503110b08710c9e3302e28d86b930e4 --- prettify/lang-lisp.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prettify/lang-lisp.js b/prettify/lang-lisp.js index 49c05ee..60cf97d 100644 --- a/prettify/lang-lisp.js +++ b/prettify/lang-lisp.js @@ -77,7 +77,7 @@ PR.registerLangHandler( [PR.PR_STRING, /^\"(?:[^\"\\]|\\[\s\S])*(?:\"|$)/, null, '"'] ], [ - [PR.PR_KEYWORD, /^(?:block|c[ad]+r|catch|cons|defun|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind|loop|with--*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?\b|define--*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?\b|for|in|from|to|fn|defn|def)/, null], + [PR.PR_KEYWORD, /^(?:block|c[ad]+r|catch|cons|defun|do|eq|eql|equal|equalp|eval-when|flet|format|go|if|labels|lambda|let|load-time-value|locally|macrolet|multiple-value-call|nil|progn|progv|quote|require|return-from|setq|symbol-macrolet|t|tagbody|the|throw|unwind|loop|with--*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?|define--*(?:[a-z_]|\\[\x21-\x7e])(?:[\w-]*|\\[\x21-\x7e])[=!?]?|for|in|from|to|fn|defn|def)\b/, null], [PR.PR_LITERAL, /^[+\-]?(?:0x[0-9a-f]+|\d+\/\d+|(?:\.\d+|\d+(?:\.\d*)?)(?:[ed][+\-]?\d+)?)/i], // A single quote or a colon possibly followed by a word that optionally ends with -- cgit v1.2.3