From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <51A8E0EE.1040305@wwwdotorg.org> Date: Fri, 31 May 2013 11:42:06 -0600 From: Stephen Warren MIME-Version: 1.0 To: Andreas Schwab Subject: Re: [PATCH] dtc: Ensure #line directives don't consume data from the next line References: <1370020450-18136-1-git-send-email-swarren@wwwdotorg.org> <87sj13dp72.fsf@hase.home> In-Reply-To: <87sj13dp72.fsf@hase.home> Content-Type: text/plain; charset=ISO-8859-1 Cc: mmarek@suse.cz, jdl@jdl.com, Stephen Warren , linux-kbuild@vger.kernel.org, devicetree-discuss@lists.ozlabs.org, linux-kernel@vger.kernel.org, rob.herring@calxeda.com, linuxppc-dev@lists.ozlabs.org, David Gibson List-Id: Linux on PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , On 05/31/2013 11:38 AM, Andreas Schwab wrote: > Stephen Warren writes: > >> Fix this by replacing {WS} with [ \t] so that it can't match line-breaks. > > I think the other uses of {WS} shouldn't span lines either. That is true, but only the optional occurrence /should/ matter. Any changes to the other occurrences would only affect malformed #line directives, whereas changing this one occurrence would also affect well-formed #line directives, due to the optional nature of the trailing flags field. Still, it may be reasonable just to change all the occurrences anyway. Does anyone have a strong opinion either way?