sublimehq / Packages

Syntax highlighting files shipped with Sublime Text and Sublime Merge
https://sublimetext.com
Other
2.95k stars 588 forks source link

[Batch File] Fix line continuation #3999

Closed deathaxe closed 4 months ago

deathaxe commented 4 months ago

This commit applies the following rule:

If ^ appears at the end of a line, the linefeed is stripped and the next character is escaped or uses its special meaning, if any. If the next character is also a linefeed, it is treated literal.

REM command seems to be working special by line continuation working only directly after the first token.