Skip to content

Commit

Permalink
adding undefined to reserved words as part of coffee-boolean-regexp (…
Browse files Browse the repository at this point in the history
…not a proper boolean, but seemed the best fit)
  • Loading branch information
Wilfred committed Oct 5, 2011
1 parent a9c8f48 commit 3900a8c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion coffee-mode.el
Expand Up @@ -324,7 +324,7 @@ If FILENAME is omitted, the current buffer's file name is used."
(defvar coffee-namespace-regexp "\\b\\(class\\s +\\(\\S +\\)\\)\\b") (defvar coffee-namespace-regexp "\\b\\(class\\s +\\(\\S +\\)\\)\\b")


;; Booleans ;; Booleans
(defvar coffee-boolean-regexp "\\b\\(true\\|false\\|yes\\|no\\|on\\|off\\|null\\)\\b") (defvar coffee-boolean-regexp "\\b\\(true\\|false\\|yes\\|no\\|on\\|off\\|null\\|undefined\\)\\b")


;; Regular Expressions ;; Regular Expressions
(defvar coffee-regexp-regexp "\\/\\(\\\\.\\|\\[\\(\\\\.\\|.\\)+?\\]\\|[^/]\\)+?\\/") (defvar coffee-regexp-regexp "\\/\\(\\\\.\\|\\[\\(\\\\.\\|.\\)+?\\]\\|[^/]\\)+?\\/")
Expand Down

0 comments on commit 3900a8c

Please sign in to comment.