Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jun 2014 10:32:44 -0600
From:      Warner Losh <imp@bsdimp.com>
To:        Benjamin Kaduk <bjkfbsd@gmail.com>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, Rui Paulo <rpaulo@freebsd.org>
Subject:   Re: svn commit: r267318 - head/usr.bin/dtc
Message-ID:  <208E5B83-48DB-478B-A73E-098B8525E18F@gmail.com>
In-Reply-To: <CAJ5_RoCbCDsV8UoqiqbcwGPajEc57pERV3GH4EsKQKhDoy7%2B=g@mail.gmail.com>
References:  <201406100616.s5A6GY4Q093247@svn.freebsd.org> <CAJ5_RoCbCDsV8UoqiqbcwGPajEc57pERV3GH4EsKQKhDoy7%2B=g@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jun 10, 2014, at 7:57 AM, Benjamin Kaduk <bjkfbsd@gmail.com> wrote:

> On Tue, Jun 10, 2014 at 2:16 AM, Rui Paulo <rpaulo@freebsd.org> wrote:
> Author: rpaulo
> Date: Tue Jun 10 06:16:34 2014
> New Revision: 267318
> URL: http://svnweb.freebsd.org/changeset/base/267318
>=20
> Log:
>   dtc: ignore lines starting with #.
>=20
>   This is necessary because we use the C pre-processor to parse =
#include lines
>   and cpp adds line markings that start with #.
>=20
> [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=92t. cpp has an assembler mode, which is what we and =
linux use for dtc.

Warner




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?208E5B83-48DB-478B-A73E-098B8525E18F>