Mercurial > projects > ldc
comparison dmd/lexer.c @ 139:0ab29b838084 trunk
[svn r143] Fixed: a few bugs in debug information, still only line info, but should be correct files now :)
Fixed: tango.io.Console seems to be working now.
author | lindquist |
---|---|
date | Tue, 22 Jan 2008 00:01:16 +0100 |
parents | 788401029ecf |
children | 5acec6b2eef8 |
comparison
equal
deleted
inserted
replaced
138:aeddd4d533b3 | 139:0ab29b838084 |
---|---|
2160 d = *p - 'A' + 10; | 2160 d = *p - 'A' + 10; |
2161 else | 2161 else |
2162 break; | 2162 break; |
2163 if (d >= r) | 2163 if (d >= r) |
2164 break; | 2164 break; |
2165 if (n * r + d < n) | 2165 if (n && n * r + d <= n) |
2166 { | 2166 { |
2167 error ("integer overflow"); | 2167 error ("integer overflow"); |
2168 break; | 2168 break; |
2169 } | 2169 } |
2170 | 2170 |