Hello,
I encounterd a small problem for a C-sharp source,
---------------------------------------------------------------------------=
-
namespace Foo
{
using System;
public class Foo
{
public double one=1.0d;
public double fr4=0.25d;
}
class testing
{
public static void Main()
{
Foo x =3D new Foo();
Console.WriteLine("one,fr4=3D"+x.one+", "+x.fr4);
}
}
}
---------------------------------------------------------------------------=
-
Hilighting 1.0d and 0.25d seems a bit wrong.
mhhh... yes that should be a problem in the regular expressions for
numbers (I'll fix it); do you happen to know whether that's the same of
C/C++ numbers (I mean are 1.0d and 0.25d valid C/C++ literals)?
thanks
Lorenzo
--
+-----------------------------------------------------+
| Lorenzo Bettini ICQ# lbetto, 16080134 |
| PhD in Computer Science |
| Dip. Sistemi e Informatica, Univ. di Firenze |
| Florence - Italy (GNU/Linux User # 158233) |
| Home Page : http://www.lorenzobettini.it |
| http://music.dsi.unifi.it XKlaim language |
| http://www.purplesucker.com Deep Purple Cover Band |
| http://www.gnu.org/software/src-highlite |
| http://www.gnu.org/software/gengetopt |
| http://www.lorenzobettini.it/software/gengen |
| http://www.lorenzobettini.it/software/doublecpp |
+-----------------------------------------------------+
_______________________________________________
Help-source-highlight mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-source-highlight