From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Gibson Subject: Re: [PATCH V3 2/2] dtc: cpp co-existence: add support for #line directives Date: Sat, 29 Sep 2012 21:50:50 +1000 Message-ID: <20120929115050.GG24942@truffula.fritz.box> References: <1348787465-9745-1-git-send-email-swarren@wwwdotorg.org> <1348787465-9745-2-git-send-email-swarren@wwwdotorg.org> <20120928000807.GD24942@truffula.fritz.box> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: devicetree-discuss-bounces+gldd-devicetree-discuss=m.gmane.org-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org Sender: "devicetree-discuss" To: Jon Loeliger Cc: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org, Stephen Warren List-Id: devicetree@vger.kernel.org On Fri, Sep 28, 2012 at 09:25:34AM -0500, Jon Loeliger wrote: > > On Thu, Sep 27, 2012 at 05:11:05PM -0600, Stephen Warren wrote: > > > From: Stephen Warren > > > > > > Line control directives of the following formats are supported: > > > #line LINE "FILE" > > > # LINE "FILE" [FLAGS] > > > > > > This allows dtc to consume the output of pre-processors, and to provide > > > error messages that refer to the original filename, including taking > > > into account any #include directives that the pre-processor may have > > > performed. > > > > > > Signed-off-by: Stephen Warren > > > > Acked-by: David Gibson > > > > Jon, please apply. > > Both 1/2 and 2/2 applied and pushed out. Ah. I had further comments about 1/2. Oh well, I'll look at patches to fix it up later. -- David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson