CSS Parser and Qt/e 2.
Luciano Montanaro
mikelima at cirulla.net
Thu Jan 26 18:27:23 GMT 2006
On Thursday 26 January 2006 17:30, Stefan Eilers wrote:
> The correct solution would be to modify the parser:
> It is possible (and what to do) to change the parser to read either
> big-endian unicode or plain us-ascii?
The lexer (or tokenizer) directly deals with the character stream.
You may be able to get along by redefining YY_CHAR, I think.
If plain ascii is sufficient, I think converting the string to latin1 and
redefining YY_CHAR to unsigned char should do.
If not, try tweaking the macros near the bottom of the cssparser.cpp file,
while looking at the tokenizer.cpp
Also have a look at the flex info pages.
> Does anybody had a similiar problem and found an easy solution to it?
>
> I would really apreciate any help!
>
> Thanks in advance!
>
> Regards, Stefan
--
Luciano Montanaro //
\\ //
\x/ www.cirulla.net
More information about the kfm-devel
mailing list