Emacs-D-Mode-Maintainers / Emacs-D-Mode

An Emacs mode for D code.
GNU General Public License v3.0
84 stars 22 forks source link

Use new cc-mode multiline support for normal strings #114

Closed radenling closed 2 years ago

radenling commented 2 years ago

c-multiline-string-start-char was the previous way to handle multiline strings. cc-mode has replaced this by with c-ml-string-opener-re and c-ml-string-any-closer-re. This is now used for handling normal strings in D since all normal strings can be multiline.

Fixes #112

CyberShadow commented 2 years ago

Could you please rebase on top of the latest master to pull in a fix for the CI?

CyberShadow commented 2 years ago

Thank you. I added a test and pushed to master + a new tag.

Looks like we may have more string trouble ahead of us. Tests I0021 and I0105 have regressed in the latest Emacs snapshot. r"..." style WYSIWYG strings seem to be broken.