On Tuesday 10 June 2008 19:51:04 Tristan Gingold wrote: > > (BTW, I know about --mb-comments, but it seems that only works with > > ghdl -i, and not with ghdl -a or ghdl -m, so in practise it doesn't > > help much. Anyway, adding this support would mostly just be fixing that > > bug. =) > > Did you try --ghdl--mb-comments ?
I haven't heard of that, but I can't get that to work either. Here's an example session (blah.vhdl is also attached). Notice that the only play --mb-comments works is with "ghdl -i", but that doesn't really help get it compiled. $ cat blah.vhdl -- This is a comment with UTF-8: µ²Ω∂ entity blah is end; architecture humbug of blah is begin end; $ ghdl -i blah.vhdl blah.vhdl:1:41: invalid character, even in a comment blah.vhdl:1:42: invalid character, even in a comment $ ghdl -i --mb-comments blah.vhdl $ ghdl -a blah.vhdl blah.vhdl:1:41: invalid character, even in a comment blah.vhdl:1:42: invalid character, even in a comment /usr/lib/ghdl/bin/ghdl: compilation error $ ghdl -a --mb-comments blah.vhdl ghdl1: error: unrecognized command line option "--mb-comments" /usr/lib/ghdl/bin/ghdl: compilation error $ ghdl -m --mb-comments blah analyze blah.vhdl ghdl1: error: unrecognized command line option "--mb-comments" /usr/lib/ghdl/bin/ghdl: compilation error $ ghdl -m --ghdl--mb-comments blah /usr/lib/ghdl/bin/ghdl: unknown option '--ghdl--mb-comments' for command '-m' Any suggestions would be appreciated, but it seems like this is really a bug. -- Wesley J. Landaker <[EMAIL PROTECTED]> <xmpp:[EMAIL PROTECTED]> OpenPGP FP: 4135 2A3B 4726 ACC5 9094 0097 F0A9 8A4C 4CD6 E3D2
-- This is a comment with UTF-8: µ²Ω∂ entity blah is end; architecture humbug of blah is begin end;
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Ghdl-discuss mailing list Ghdl-discuss@gna.org https://mail.gna.org/listinfo/ghdl-discuss