Bugs item #1528269, was opened at 2006-07-25 11:40
Message generated for change (Comment added) made by helly
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=616200&aid=1528269&group_id=96864
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: Accepted
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
>Assigned to: Marcus Börger (helly)
Summary: Invalid code generation
Initial Comment:
If the source contains umlauts, wrong code is generated.
Example:
----------------------
void foo()
{
x='ü';
}
----------------------
Generated code:
----------------------
/* Generated by re2c 0.10.5 on Tue Jul 25 11:36:13 2006 */
#line 1 "test.re"
void foo()
{
x=' x='ü';
}
----------------------
you can contact me at:
matthias.meixner(at)thales-e-transactions.de
----------------------------------------------------------------------
>Comment By: Marcus Börger (helly)
Date: 2006-07-26 23:38
Message:
Logged In: YES
user_id=271023
You need to build re2c, drop the file scanner.cc,
regenerate scanner.cc with the re2c built first and then
link re2c again:
[./augotgen.sh]
./configure
make
rm -f scanner.cc
re2c scanner.re > scanner.cc
make
Or if you do use rpm's then use ./makerpm which does that
automatically.
Note, do not use re2c switches -s or -b. So the problem is
in these two code generation options.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=616200&aid=1528269&group_id=96864
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Re2c-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/re2c-general