mirror of https://github.com/Wilfred/difftastic/
31 lines
504 B
Makefile
31 lines
504 B
Makefile
=========================================
|
|
Define directive (whitespace after name)
|
|
=========================================
|
|
define two-lines
|
|
echo foo
|
|
echo bar
|
|
endef
|
|
|
|
---
|
|
|
|
(makefile
|
|
(define_directive
|
|
name: (word)
|
|
value: (raw_text)))
|
|
|
|
============================================
|
|
Define directive (whitespace after operator)
|
|
============================================
|
|
define two-lines =
|
|
echo foo
|
|
echo bar
|
|
endef
|
|
|
|
---
|
|
|
|
(makefile
|
|
(define_directive
|
|
name: (word)
|
|
value: (raw_text)))
|
|
|