[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] [PATCH] tcc -E falls into a loop and runs out ofmemor
From: |
grischka |
Subject: |
Re: [Tinycc-devel] [PATCH] tcc -E falls into a loop and runs out ofmemory with vim7.1, osdef0.c |
Date: |
Fri, 30 Nov 2007 00:58:37 +0100 |
From: "Joshua Phillips":
> Later, it might be better to make the lexer actually move past the
> TOK_LINEFEED implicitly (tcc.c:2704) - this would be a cleaner solution.
Me tends to think that cleaner on that level exists already in CVS.
Speaking of which I'd actually like to have something cleaner for
the stringize patch:
http://hg.sharesource.org/mercurialtcc/rev/a70ac19d704b
It's not bad and all and works, but it's really extensive and
setting all that token flags is not so an obvious way either.
Maybe we could instead pass space-tokens from the parser and
filter them out later before next(). That would also make the
output from "tcc -E" look prettier.
Anyone likes to try that?
--- grischka