From: H. P. A. <hp...@zy...> - 2011-10-02 17:55:37
|
On 10/02/2011 05:10 AM, Cyrill Gorcunov wrote: > > Btw, while were looking into this bug I found an interesting > thing -- if some macro expands to nothing we don't return empy > term but TOK_WHITESPACE instead. This is wrong. (For this reason > x264 codec is not compilable with nasm.) This term should be > a composite entity and has some additional info such as 'ok, > this term is whitespace due to exponasion to empty line' and > in case if there > > TOK_ID %+ TOK_WHITESPACE_DUE_TO_EXPANSION %+ TOK_ID > > we would drop TOK_WHITESPACE_DUE_TO_EXPANSION and simply join > TOK_ID+TOK_ID. > > Not sure how to make it in better way at moment though. > What if we let %+ absorb surrounding TOK_WHITESPACE, so the above composites correctly? -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. |