Rev 9862 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 9862 | Rev 9863 | ||
---|---|---|---|
Line 170... | Line 170... | ||
170 | }; |
170 | }; |
Line 171... | Line 171... | ||
171 | 171 | ||
172 | if (ch == '0') // octal or hex, read next |
172 | if (ch == '0') // octal or hex, read next |
173 | { |
173 | { |
174 | ch = vgetc(save, src); |
174 | ch = vgetc(save, src); |
175 | if (ch == 'o') |
175 | if (ch == 'c' || ch == 'C') |
176 | base = 8; |
176 | base = 8; |
177 | else if (ch == 'x' || ch == 'X') |
177 | else if (ch == 'x' || ch == 'X') |
178 | base = 16; |
178 | base = 16; |
179 | if (base == 10) |
179 | if (base == 10) |