Skip to content

Commit

Permalink
fix(makefile) allow strings inside $() expressions
Browse files Browse the repository at this point in the history
  • Loading branch information
aneesh98 authored Jul 7, 2024
1 parent a125c31 commit 33eb3d9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
3 changes: 2 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ CAVEATS / POTENTIALLY BREAKING CHANGES

Core Grammars:

- Nothing yet.
- fix(makefile) - allow strings inside `$()` expressions [aneesh98][]

New Grammars:

Expand All @@ -24,6 +24,7 @@ Themes:
CONTRIBUTORS

[Josh Goebel]: https://github.com/joshgoebel
[aneesh98]: https://github.com/aneesh98


## Version 11.10.0
Expand Down
5 changes: 4 additions & 1 deletion src/languages/makefile.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ export default function(hljs) {
+ 'word wordlist firstword lastword dir notdir suffix basename '
+ 'addsuffix addprefix join wildcard realpath abspath error warning '
+ 'shell origin flavor foreach if or and call eval file value' },
contains: [ VARIABLE ]
contains: [
VARIABLE,
QUOTE_STRING // Added QUOTE_STRING as they can be a part of functions
]
};
/* Variable assignment */
const ASSIGNMENT = { begin: '^' + hljs.UNDERSCORE_IDENT_RE + '\\s*(?=[:+?]?=)' };
Expand Down

0 comments on commit 33eb3d9

Please sign in to comment.