Open Freed-Wu opened 11 months ago
ifeq ($(OS_TYPE),linux-gnu) A := 1 else A := 2 endif all: @echo $(A)
>>> tree.root_node.children[0].children[1].text b'A := 1' >>> tree.root_node.children[0].children[1] <Node type=recipe_line, start_point=(1, 1), end_point=(1, 7)>
tree.root_node.children[0].children[1].type should be variable_assignment.
tree.root_node.children[0].children[1].type
variable_assignment
tree.root_node.children[0].children[1].type
should bevariable_assignment
.