File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 167167 (or " _" " __MODULE__" " __DIR__" " __ENV__" " __CALLER__"
168168 " __block__" " __aliases__" )
169169 symbol-end))
170- (sigils . ,(rx " ~" (or " B" " C" " R" " S" " b" " c" " r" " s" " w" )))))
170+ (sigils . ,(rx " ~" (or " B" " C" " D " " R" " S" " b" " c" " r" " s" " w" )))))
171171
172172 (defmacro elixir-rx (&rest sexps )
173173 (let ((rx-constituents (append elixir-rx-constituents rx-constituents)))
Original file line number Diff line number Diff line change 366366~w<\" >
367367~s\"\"\"
368368foo
369- \"\"\" "
369+ \"\"\"
370+ ~D(\" )"
370371 (should-not (eq (elixir-test-face-at 5 ) 'font-lock-string-face )) ; ~s//
371372
372373 (should-not (eq (elixir-test-face-at 7 ) 'font-lock-string-face )) ; ~r||
400401 (should (eq (elixir-test-face-at 51 ) 'font-lock-string-face )) ; ~s""" """
401402 (should (eq (elixir-test-face-at 52 ) 'font-lock-string-face ))
402403 (should (eq (elixir-test-face-at 53 ) 'font-lock-string-face ))
403- (should (eq (elixir-test-face-at 55 ) 'font-lock-string-face ))))
404+ (should (eq (elixir-test-face-at 55 ) 'font-lock-string-face ))
405+
406+ (should (eq (elixir-test-face-at 66 ) 'font-lock-string-face )))) ; ~D()
404407
405408(ert-deftest elixir-mode-syntax-table/hashmark-in-sigils ()
406409 " Don't treat hashmark in sigils as comment"
You can’t perform that action at this time.
0 commit comments