paiq / blackcoffee

CoffeeScript + hygienic macros
MIT License
105 stars 9 forks source link

Fix calculation of source index in source map #11

Closed leonidborisenko closed 10 years ago

leonidborisenko commented 10 years ago

Source index is defined by specification as relative to previous occurence of this field.

Exception case when it's a first field occurence and index should be represented by whole value is also handled.