LiveScript's word array lexer shouldn't be greedy.

#224 Merged at 7fbdb7b
Repository
kurisuwhyte
Branch
default
Repository
birkenfeld
Branch
default
Author
  1. Christina Whyte
Reviewers
Description

Word array is only allowed to contain words and whitespace, ]> is not allowed to occur in such a construct, thus it should end the construct at the very first occurrence.

An example of the problem can be seen in this gist:

https://gist.github.com/kurisuwhyte/6050066

Comments (2)