Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fix syntax bug that didn't match all comments. #11

Merged
merged 1 commit into from

2 participants

@jschaf

It didn't match comments of the form

//$header-bg: #123456
@antonj antonj merged commit 2d25dec into antonj:master
@antonj
Owner

I didn't get any problems with those comments, could be that we are using different versions of css-mode.

Merging anyway :) since it fixes the issues for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 25, 2012
  1. @jschaf
This page is out of date. Refresh to see the latest.
Showing with 3 additions and 2 deletions.
  1. +3 −2 scss-mode.el
View
5 scss-mode.el
@@ -84,8 +84,9 @@ Special commands:
(font-lock-add-keywords nil scss-font-lock-keywords)
;; Add the single-line comment syntax ('//', ends with newline)
;; as comment style 'b' (see "Syntax Flags" in elisp manual)
- (modify-syntax-entry ?/ ". 124b" css-mode-syntax-table)
- (modify-syntax-entry ?\n "> b" css-mode-syntax-table)
+ (modify-syntax-entry ?/ ". 124" css-mode-syntax-table)
+ (modify-syntax-entry ?* ". 23b" css-mode-syntax-table)
+ (modify-syntax-entry ?\n ">" css-mode-syntax-table)
(add-to-list 'compilation-error-regexp-alist scss-compile-error-regex)
(add-hook 'after-save-hook 'scss-compile-maybe nil t))
Something went wrong with that request. Please try again.