diff options
author | Alex Lam S.L <alexlamsl@gmail.com> | 2017-03-18 01:56:15 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-18 01:56:15 +0800 |
commit | fb092839c26ddaa0614df5295be85ea207bda9f7 (patch) | |
tree | a2e30e98953c57bd7faecbf6c2541a3707bb02ea /test/input/issue-1236 | |
parent | b7c112eefe4b7840cefd85287e3f858784c56a59 (diff) | |
download | tracifyjs-fb092839c26ddaa0614df5295be85ea207bda9f7.tar.gz tracifyjs-fb092839c26ddaa0614df5295be85ea207bda9f7.zip |
fix top-level directives in compress tests (#1615)
`input` and `expect` are parsed as `AST_BlockStatement` which does not support `AST_Directive` by default.
Emulate that by transforming preceding `AST_SimpleStatement`s of `AST_String` into `AST_Directive`.
Diffstat (limited to 'test/input/issue-1236')
0 files changed, 0 insertions, 0 deletions