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] new exec-charset testcase


> the host character set; we shouldn't penalize the typical case.  A 
> better approach would probably be to give the lexer enough smarts to 
> know when it had to do the translation.

Umm.. and you would suggest we do this how without putting the entire
parser into the lexer?

The problem is that string translation is parse dependent. See the
testcases in g++.dg/charset/ for more examples.

I'll take your word on it though and plan on redoing the tree for the
string node when I encounter a place to translate and turning off the
translation stuff in the lexer for this.

-eric

-- 
Eric Christopher <echristo@redhat.com>


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