[Mono-list] dash in file name - won't compile

Fred Blaise chapeaurouge@madpenguin.org
Wed, 19 May 2004 21:20:40 -0500


--=-9odAu4Cbdgq5BqVAp+xE
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Just ran accross this:

fblaise@slacker:~/CVSROOT/gget-sharp$ mcs -r:gtk-sharp gget-sharp.cs
syntax error, got token `MINUS', expecting OPEN_BRACE COLON
Mono.CSharp.yyParser.yyException: irrecoverable syntax error
in <0x00832> Mono.CSharp.CSharpParser:yyparse
(Mono.CSharp.yyParser.yyInput)
in <0x00079> Mono.CSharp.CSharpParser:parse ()
=20
gget-sharp.cs(6) error CS8025: Parsing error
Compilation failed: 1 error(s), 0 warnings

If I however rename the class and file to not have the '-', it works:

mcs -r:gtk-sharp ggetsharp.cs
Compilation succeeded

I haven't looked at the archive... sorry if this has been reported
already.

Thanks

...fb

--=20
The software said install Windows2000 or better.. so I installed Linux.=20

--=-9odAu4Cbdgq5BqVAp+xE
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)

iD8DBQBArBX3Mz5DNXWxTQIRAntEAJ9nNcYJtj9LmZOff0qONJcnGLmOFwCeL6fN
zNx2b1eBXtccjvBbTBmSVWQ=
=cezn
-----END PGP SIGNATURE-----

--=-9odAu4Cbdgq5BqVAp+xE--