Differences From Artifact [35e3a3658c]:
- File
src/OFNumber.m
— part of check-in
[f59977a0aa]
at
2013-01-28 21:12:57
on branch trunk
— JSON5: Update to new version of the spec.
This adds support for Infinity and leading + signs. (user: js, size: 31885) [annotate] [blame] [check-ins using]
To Artifact [ae195c0c97]:
- File src/OFNumber.m — part of check-in [737a82e1a4] at 2013-02-05 22:24:31 on branch trunk — Move abort() to make old GCCs happy. (user: js, size: 31885) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
449 450 451 452 453 454 455 | return [[[self alloc] initWithDouble: double_] autorelease]; } - init { @try { [self doesNotRecognizeSelector: _cmd]; | < > > | 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 | return [[[self alloc] initWithDouble: double_] autorelease]; } - init { @try { [self doesNotRecognizeSelector: _cmd]; } @catch (id e) { [self release]; @throw e; } abort(); } - initWithBool: (BOOL)bool_ { self = [super init]; value.bool_ = (bool_ ? YES : NO); |
︙ | ︙ |