millermedeiros / rocambole

Recursively walk and transform EcmaScript AST
171 stars 12 forks source link

the loc info for WhiteSpace and LineBreak tokens is wrong #2

Closed millermedeiros closed 11 years ago

millermedeiros commented 11 years ago

program lines should start at zero, line breaks should not end at next line (they mark the EOL not start of next one...) also need to double check the ranges just in case.