]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - scripts/dtc/dtc-lexer.l
scripts/dtc: Update to upstream version v1.4.7-57-gf267e674d145
[linux.git] / scripts / dtc / dtc-lexer.l
index 615b7ec6588f12bfab0a34159ff2e9319e80f615..06c040902444f4a0a7c2143952d475ee240640e2 100644 (file)
@@ -213,14 +213,14 @@ static void PRINTF(1, 2) lexical_error(const char *fmt, ...);
 <*>\&{LABEL}   {       /* label reference */
                        DPRINT("Ref: %s\n", yytext+1);
                        yylval.labelref = xstrdup(yytext+1);
-                       return DT_REF;
+                       return DT_LABEL_REF;
                }
 
 <*>"&{/"{PATHCHAR}*\}  {       /* new-style path reference */
                        yytext[yyleng-1] = '\0';
                        DPRINT("Ref: %s\n", yytext+2);
                        yylval.labelref = xstrdup(yytext+2);
-                       return DT_REF;
+                       return DT_PATH_REF;
                }
 
 <BYTESTRING>[0-9a-fA-F]{2} {