| 354 } |
354 } |
| 355 |
355 |
| 356 token = string; |
356 token = string; |
| 357 } |
357 } |
| 358 |
358 |
| 359 void ScriptReader::MustNumber () { |
359 void ScriptReader::MustNumber (bool fromthis) { |
| 360 str num; |
360 str num; |
| 361 MustNext (); |
361 if (!fromthis) |
| |
362 MustNext (); |
| 362 num += token; |
363 num += token; |
| 363 |
364 |
| 364 // Cater for a possible minus sign, since it |
365 // Cater for a possible minus sign, since it |
| 365 // breaks the token, read a new one with the number. |
366 // breaks the token, read a new one with the number. |
| 366 if (!token.compare ("-")) { |
367 if (!token.compare ("-")) { |