projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
38f684d
)
fixed decimal number parsing
author
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 25 Jan 2007 14:56:53 +0000
(14:56 +0000)
committer
Michael Beck
<beck@ipd.info.uni-karlsruhe.de>
Thu, 25 Jan 2007 14:56:53 +0000
(14:56 +0000)
[r8559]
ir/debug/debugger.c
patch
|
blob
|
history
diff --git
a/ir/debug/debugger.c
b/ir/debug/debugger.c
index
0bab606
..
04bd0a0
100644
(file)
--- a/
ir/debug/debugger.c
+++ b/
ir/debug/debugger.c
@@
-1008,7
+1008,7
@@
static unsigned get_token(void) {
for (;;) {
if (! isdigit(c))
break;
- number =
(number << 4) |
(c - '0');
+ number =
number * 10 +
(c - '0');
c = next_char();
}
unput();