svenvc / ston

STON - Smalltalk Object Notation - A lightweight text-based, human-readable data interchange format for class-based object-oriented languages like Smalltalk.
MIT License
135 stars 32 forks source link

Error parsing the empty symbol #10

Closed tinchodias closed 10 years ago

tinchodias commented 10 years ago

Hello Sven,

I found that:

STON fromString: (STON toString: '' asSymbol)

raises a parsing error.

I guess #'' is a valid symbol so it should be supported by Ston... What do you think?

Thanks in advance, Martín

svenvc commented 10 years ago

Martin,

Fixed in https://github.com/svenvc/ston/commit/8c074f1a313e7ce988f3d6c40b04e291a5d4d99e

Thx,

Sven