Skip to content

Commit 33eb3d9

Browse files
authored
fix(makefile) allow strings inside $() expressions
1 parent a125c31 commit 33eb3d9

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGES.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ CAVEATS / POTENTIALLY BREAKING CHANGES
77

88
Core Grammars:
99

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

1212
New Grammars:
1313

@@ -24,6 +24,7 @@ Themes:
2424
CONTRIBUTORS
2525

2626
[Josh Goebel]: https://github.com/joshgoebel
27+
[aneesh98]: https://github.com/aneesh98
2728

2829

2930
## Version 11.10.0

src/languages/makefile.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,10 @@ export default function(hljs) {
3838
+ 'word wordlist firstword lastword dir notdir suffix basename '
3939
+ 'addsuffix addprefix join wildcard realpath abspath error warning '
4040
+ 'shell origin flavor foreach if or and call eval file value' },
41-
contains: [ VARIABLE ]
41+
contains: [
42+
VARIABLE,
43+
QUOTE_STRING // Added QUOTE_STRING as they can be a part of functions
44+
]
4245
};
4346
/* Variable assignment */
4447
const ASSIGNMENT = { begin: '^' + hljs.UNDERSCORE_IDENT_RE + '\\s*(?=[:+?]?=)' };

0 commit comments

Comments
 (0)