Skip to content

Commit

Permalink
Makefile String Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aneesh98 committed Oct 22, 2023
1 parent 17494c8 commit 904ddd1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/languages/makefile.js
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 904ddd1

Please sign in to comment.