author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Sun, 19 Apr 2015 22:28:48 +0100 | |
changeset 431 | dd353f15b0ef |
parent 430 | 77cf8e710a8e |
child 432 | fde2d5969fbb |
--- a/compiler/PPCompiledParser.st Sun Apr 19 22:25:38 2015 +0100 +++ b/compiler/PPCompiledParser.st Sun Apr 19 22:28:48 2015 +0100 @@ -19,7 +19,7 @@ !PPCompiledParser class methodsFor:'as yet unclassified'! addConstant: value as: id - self constants at: id ifPresent: [ + self constants at: id ifPresent: [:ignored | ((self constants at: id) = value) ifFalse: [self error: 'ooups']]. self constants at: id put: value.