commit | 41eecd4c2acaca01295fdb48ddc9ec5520f5a7d4 | [log] [tgz] |
---|---|---|
author | David Gibson <david@gibson.dropbear.id.au> | Thu Jun 07 12:07:35 2007 +1000 |
committer | Jon Loeliger <jdl@freescale.com> | Wed Jun 06 21:51:49 2007 -0500 |
tree | 296f61ef40b6ee058c013df105ed2cc61a1e18a8 | |
parent | 7ea144f4c0b47c6f25cb4862b3299b7e5d7f7813 [diff] |
dtc: Fix recognition of whitespace characters 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. This patch fixes the problem, using flex's built-int [:space:] character class. Signed-off-by: David Gibson <david@gibson.dropbear.id.au>