projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dtc: ensure #line directives don't consume data from the next line
[linux-2.6-microblaze.git]
/
scripts
/
dtc
/
dtc-lexer.l
diff --git
a/scripts/dtc/dtc-lexer.l
b/scripts/dtc/dtc-lexer.l
index
254d5af
..
3b41bfc
100644
(file)
--- a/
scripts/dtc/dtc-lexer.l
+++ b/
scripts/dtc/dtc-lexer.l
@@
-71,7
+71,7
@@
static int pop_input_file(void);
push_input_file(name);
}
-<*>^"#"(line)?
{WS}+[0-9]+{WS}+{STRING}({WS}
+[0-9]+)? {
+<*>^"#"(line)?
[ \t]+[0-9]+[ \t]+{STRING}([ \t]
+[0-9]+)? {
char *line, *tmp, *fn;
/* skip text before line # */
line = yytext;