[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/julia-mode 140369e 337/352: Simplify char-regex
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/julia-mode 140369e 337/352: Simplify char-regex |
Date: |
Sun, 29 Aug 2021 11:23:14 -0400 (EDT) |
branch: elpa/julia-mode
commit 140369ea5dbe0e93bf17510d27f90fb0839ea0a2
Author: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>
Commit: Adam Beckmeyer <adam_gpg@thebeckmeyers.xyz>
Simplify char-regex
We don't need to apply any syntax to the contents of the 'c' literal.
---
julia-mode.el | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/julia-mode.el b/julia-mode.el
index 287b4c3..84fb115 100644
--- a/julia-mode.el
+++ b/julia-mode.el
@@ -113,9 +113,8 @@
(syntax whitespace)
bol)
(group "'")
- (group
- (or (repeat 0 8 (not (any "'"))) (not (any "\\"))
- "\\\\"))
+ (or (repeat 0 8 (not (any "'"))) (not (any "\\"))
+ "\\\\")
(group "'"))))
(defconst julia-hanging-operator-regexp
@@ -317,9 +316,10 @@
(0 (unless (nth 3 (save-excursion (syntax-ppss (match-beginning 0))))
(string-to-syntax "."))))
(julia-char-regex
- (1 "\"") ; Treat ' as a string delimiter.
- (2 ".") ; Don't highlight anything between.
- (3 "\"")))) ; Treat the last " in """ as a string delimiter.
+ ;; treat ' in 'c' as string-delimiter
+ (1 "\"")
+ (2 "\""))))
+
(defun julia-in-comment (&optional syntax-ppss)
"Return non-nil if point is inside a comment using SYNTAX-PPSS.
- [nongnu] elpa/julia-mode 505d71b 339/352: Add all problemmatic strings from issue #15 to tests, (continued)
- [nongnu] elpa/julia-mode 505d71b 339/352: Add all problemmatic strings from issue #15 to tests, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b800403 326/352: Font lock tweaks (#102), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 8bfc709 325/352: bump version for release, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a31868d 340/352: font-lock ccall as a builtin, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a4eeb6c 343/352: Merge pull request #134 from non-Jedi/font-lock-builtin-face, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode a1ba9a0 352/352: add logo, README tweaks, add section on testing (#163), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode dc17943 351/352: Indent imports from submodule correctly (#154), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode af5eb63 273/352: short function syntax: support return type declaration, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 1eacdc6 298/352: Create FUNDING.yml, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 023df24 322/352: add latest PR to changelog, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 140369e 337/352: Simplify char-regex,
ELPA Syncer <=
- [nongnu] elpa/julia-mode 10b0eff 286/352: beginning/end of defun functions, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 6408b96 306/352: Transition to cl-lib, drop support for Emacs 23., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 4f024cb 313/352: make loading "julia-latexsubs" work when using `eval-buffer` (#83), ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 10ce821 310/352: Add MELPA badge, clarify installation., ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 088fb0b 314/352: Load latexsub table as a feature, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 66ef2db 317/352: Merge branch 'master' into tp/drop-emacs-23, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode b295e36 345/352: Merge pull request #133 from non-Jedi/triple-quote-cmd, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode e10a730 056/352: FFT of real vectors as well, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 7065601 138/352: julia-mode symbol-table update from #7018, ELPA Syncer, 2021/08/29
- [nongnu] elpa/julia-mode 5d693ab 349/352: Fix CI using actions. (#160), ELPA Syncer, 2021/08/29