commit | 072b9c5149793e3f9078836c01a5f37fdd59eeb5 | [log] [tgz] |
---|---|---|
author | Simon Glass <sjg@chromium.org> | Wed Feb 03 06:01:08 2021 -0700 |
committer | Simon Glass <sjg@chromium.org> | Mon Mar 22 19:23:27 2021 +1300 |
tree | 75dce1974c5676f5e5724fb2ef1d52d22df983e1 | |
parent | be88d2fe74955f36189819fa1f6dec50fd332dd0 [diff] |
dtoc: Detect drivers only at the start of start of line If a driver declaration is included in a comment, dtoc currently gets confused. Update the parser to only consider declarations that begin at the start of a line. Since multi-line comments begin with an asterisk, this avoids the problem. Signed-off-by: Simon Glass <sjg@chromium.org>