parse.mk revision 1.3 1 # $NetBSD: parse.mk,v 1.3 2022/07/24 20:25:23 rillig Exp $
2 #
3 # Test those parts of the parsing that do not belong in any of the other
4 # categories.
5
6 # expect+1: Makefile appears to contain unresolved CVS/RCS/??? merge conflicts
7 <<<<<< old
8
9 # No diagnostic since the following line is parsed as a variable assignment,
10 # even though the variable name is empty. See also varname-empty.mk.
11 ====== middle
12
13 # expect+1: Makefile appears to contain unresolved CVS/RCS/??? merge conflicts
14 >>>>>> new
15
16
17 # Since parse.c 1.578 from 2021-12-14 and before parse.c 1.681 from
18 # 2022-07-24, if a line of a makefile could only be a dependency specification
19 # but didn't contain any of the dependency operators ':', '!', '::' and its
20 # expansion ended with a space, make read a single byte from the memory beyond
21 # the expanded line's terminating '\0'.
22 #
23 # https://bugs.freebsd.org/265119
24 one-target ${:U }
25