Files
vim-mirror/runtime/syntax/testdir/input/make_01.mak
Beleswar Prasad Padhi 519dc391d8 runtime(make): Makefile highlighting breaks with ')' in string
Problem:  Makefile syntax highlighting incorrectly ends function calls
          when encountering ')' inside double or single quoted strings,
          causing incorrect highlighting for the remainder of the line.
Solution: Add makeDString and makeSString to the contains list for
          makeIdent regions. This allows strings to be recognized inside
          variable references and function calls.

fixes:  #18687
closes: #18818

Signed-off-by: Beleswar Prasad Padhi <beleswarprasad@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
2025-12-23 21:32:10 +00:00

17 lines
142 B
Makefile

# comment
a = b
$(a) = 1
$(a)::
@echo double-colon rule
$(a) += output
define say
echo $1
endef
default:
$(call say,"Hello (world)!")