Fix parsing of \xHH and \uHHHH #6

Closed
wants to merge 2 commits into from

2 participants

@veged

After 23e66f4 Ometa/JS serialize escaped chars, but still can't parse it back.

@alexwarth
Owner

Thanks for pointing this out. I didn't realize that this was a pull request, so I wrote my own fix and committed it. :) (My commit also fixes this issue in the OMeta parser, and restricts the digits after the \x and \u to hexadecimal digits, not just any character.)

@alexwarth alexwarth closed this Jul 19, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment