-
oliver@apple.com authored
Reviewed by Gavin Barraclough and Darin Adler. This is a simplified parser and lexer that we can throw at strings passed to eval in case a site is using eval to parse JSON (eg. json2.js). The lexer is intentionally limited (in effect it's whitelisting a limited "common" subset of the JSON grammar) as this decreases the likelihood of us wating time attempting to parse any significant amount of non-JSON content. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@43424 268f45cc-cd09-0410-ab3c-d52691b4dbfc
c57cb0dd