Skip to content

Commit

Permalink
shell-posix.hrc: fix variable assignments with line continuations
Browse files Browse the repository at this point in the history
  • Loading branch information
chpock committed Nov 18, 2024
1 parent ee54d17 commit fc32c9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- [markdown] fix trailing spaces in em and strong
- [smarty] fixed working with nested brackets
- [smarty] literal block - text only
- [shell-posix] fix variable assignments with line continuations

### Changed
- Simplified catalog.xml.
Expand Down
1 change: 1 addition & 0 deletions hrc/hrc/scripts/shell-posix.hrc
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@
</scheme>

<scheme name="variable_assignments">
<inherit scheme="escape_newline"/>
<block start="/\s*\M(%var;)(=)/" end="/\M[\s\);&amp;&lt;&gt;|]|$/" scheme="variable_assignments_caught"/>
</scheme>

Expand Down

0 comments on commit fc32c9b

Please sign in to comment.