This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: demand_empty_rest_of_line and ignore_rest_of_line
ian@wasabisystems.com (Ian Lance Taylor) wrote on 26.04.04 in <m3wu42am0e.fsf@gossamer.airs.com>:
> Well, the assembler parsing logic is already completely collapsed
> together. It is all done in gas/app.c, using a state machine that
> operates on buffers. (It turns out that there are a number of machine
> dependencies for assembler parsing, but they are still all handled in
> one place.) The output of do_scrub_chars() in gas/app.c is what the
> machine dependent parsers work with.
Has anyone tried including the effects of do_scrub_chars() into that state
machine? It certainly sounds as if that ought to be entirely possible
_and_ fast. Whereas the current two-pass logic sounds rather slow.
MfG Kai