Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 25, 2011
  1. @medgar123

    Tokenizer changes:

    medgar123 authored
    * split up the tokenizer regex for readability
    * ignore inter-token whitespace
    * allow backslash-escapes in strings
    * disallow control characters in strings
    * clean up number regex and don't allow . (or the empty string)
    * fall-through token-matching case is . leaving the parser to validate it.
    
    Parser changes:
    * disallow non-string keys in objects
    * detect unrecognized tokens, e.g. @ A $ etc.
    * consistent quoting on case patterns
    * use ${token:-EOF} in error messages
    
    fixed wrong tests (and removed the wrong-test-generator)
    added new tests.
    fix test/valid-test.sh to count failures like test/invalid-test.sh
    removed unnecessary outlog/errlog files (and add to .gitignore)
Something went wrong with that request. Please try again.