bison-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AT_DATA removing trailing blanks...


From: Akim Demaille
Subject: Re: AT_DATA removing trailing blanks...
Date: Tue, 23 Oct 2012 22:32:07 +0200

Le 23 oct. 2012 à 19:35, Dennis Heimbigner <address@hidden> a écrit :

> I am trying to construct some test cases for
> the java push-parser. One problem I am encountering
> is this.
> Suppose I have this
> AT_DATA([expout],[[
> line
> ]])
> where the contents are the five characters "line "
> with a trailing blank. The trailing blank is deleted
> when the contents are stored in expout. When later
> I use AT_CHECK it fails because of the missing blank.
> 
> Does anyone know how to get AT_DATA to leave the missing blank
> in place?

Hi Dennis,

Try appending @&t@ at the end of your line (stands for empty,
will removed after trimming the trailing blanks).


reply via email to

[Prev in Thread] Current Thread [Next in Thread]