Thread (1 message) 1 message, 1 author, 2007-06-07

Re: dtc: Fix recognition of whitespace characters

From: Jon Loeliger <hidden>
Date: 2007-06-07 02:56:41

So, like, the other day David Gibson mumbled:
At present, the lexer in dtc recognizes only space, tab and newline as
whitespace characters.  This is broken; in particular this means that
dtc will get syntax errors on files with DOS-style (CR-LF) newlines.
Doctor, it hurts when I use DOS. :-)
This patch fixes the problem, using flex's built-int [:space:]
character class.

Signed-off-by: David Gibson <redacted>
---

Jon, please apply.
Applied.

Thanks,
jdl
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help