Throw errors in strict mode for octal strings
authorAnthony Van de Gejuchte <anthonyvdgent@gmail.com>
Fri, 20 May 2016 08:25:35 +0000 (10:25 +0200)
committerRichard van Velzen <rvanvelzen@experty.com>
Sun, 12 Jun 2016 12:27:08 +0000 (14:27 +0200)
commit4d7746baf31405427209de0d8c44d9c8263a2563
treec86706395e8852fafbd846c438e73c5a3a0e9659
parent31d5825a86a6bcee91187b4a3962e0cd0f3b0d93
Throw errors in strict mode for octal strings

Adds a directive tracker for the parser/tokenizer to
allow parsing depending on directive context.
lib/parse.js
test/mocha/directives.js [new file with mode: 0644]
test/mocha/string-literal.js