From 904ddd1295e48c1097795144b8bf21a533a8c6cf Mon Sep 17 00:00:00 2001 From: aneesh98 Date: Sun, 22 Oct 2023 14:13:50 +0530 Subject: [PATCH] Makefile String Fix --- src/languages/makefile.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/languages/makefile.js b/src/languages/makefile.js index a616fffad5..5b014705f1 100644 --- a/src/languages/makefile.js +++ b/src/languages/makefile.js @@ -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*(?=[:+?]?=)' };