From 73ae43ea44a40c2ac00dd94523f270177a1e72e9 Mon Sep 17 00:00:00 2001 From: John Bonesio Date: Tue, 2 Nov 2010 15:55:04 -0700 Subject: Allow nodes to be referenced by path at the top level. When nodes are modified by merging device trees, nodes to be updated/merged can be specified by a label. Specifying nodes by full path (instead of label) doesn't quite work. This patch fixes that. Signed-off-by: John Bonesio Acked-by: David Gibson --- dtc-lexer.l | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dtc-lexer.l') diff --git a/dtc-lexer.l b/dtc-lexer.l index 081e13a..e866ea5 100644 --- a/dtc-lexer.l +++ b/dtc-lexer.l @@ -115,7 +115,7 @@ static int pop_input_file(void); return DT_REF; } -"&{/"{PATHCHAR}+\} { /* new-style path reference */ +<*>"&{/"{PATHCHAR}+\} { /* new-style path reference */ yytext[yyleng-1] = '\0'; DPRINT("Ref: %s\n", yytext+2); yylval.labelref = xstrdup(yytext+2); -- cgit v1.2.1