From bd823f709024264d3b77f221b20069556ad2c30e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 6 Aug 2009 09:31:33 +0000 Subject: Bug fixed in number recognition. --- src/LexMagik.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/LexMagik.cxx b/src/LexMagik.cxx index 8ab4d0887..6f03350e7 100644 --- a/src/LexMagik.cxx +++ b/src/LexMagik.cxx @@ -62,7 +62,7 @@ static inline bool IsAlphaSym(int ch) { * \return True if ch is a character, False otherwise */ static inline bool IsAlNum(int ch) { - return ((ch > '0' && ch < '9') || IsAlpha(ch)); + return ((ch >= '0' && ch < '9') || IsAlpha(ch)); } /** -- cgit v1.2.3