svn commit: r267318 - head/usr.bin/dtc
Warner Losh
imp at bsdimp.com
Fri Jun 13 16:32:49 UTC 2014
On Jun 10, 2014, at 7:57 AM, Benjamin Kaduk <bjkfbsd at gmail.com> wrote:
> On Tue, Jun 10, 2014 at 2:16 AM, Rui Paulo <rpaulo at freebsd.org> wrote:
> Author: rpaulo
> Date: Tue Jun 10 06:16:34 2014
> New Revision: 267318
> URL: http://svnweb.freebsd.org/changeset/base/267318
>
> Log:
> dtc: ignore lines starting with #.
>
> This is necessary because we use the C pre-processor to parse #include lines
> and cpp adds line markings that start with #.
>
> [Obligatory note that cpp is tied to its C compiler and is only obligated to produce output acceptable to that C compiler; such output could be arbitrarily complex.]
Actually, it isn’t. cpp has an assembler mode, which is what we and linux use for dtc.
Warner
More information about the svn-src-head
mailing list