This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [Patch] Refractor Thompson matcher


On Mon, Jul 29, 2013 at 1:08 AM, Paolo Carlini <paolo.carlini@oracle.com> wrote:
> Oh well, thanks. But then I expect specific testcases to come with it, for
> the various values of the parameter, both the default and the other other
> values. Otherwise, the idea isn't really immediately useful. See what I
> mean?

So I modified testcases to test both of them.

> Also, please make sure that this change is in any case a step in the right
> direction. I mean: I suppose that if we do this only the logic to control
> automatically the switch is missing and when we add it we are done. Let's
> not do it if I'm mistaken.

Never mind, this patch makes them switch to be automatic(based on
whether there're back-references in the regex), thanks to the
full-featured regex scanner.
A testcase is given too.


-- 
Tim Shen

Attachment: dispatch.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]