fix a bug in simple_glob (#1632)

- "?" should not match "/"
- other minor clean-ups
This commit is contained in:
Alex Lam S.L
2017-03-23 06:11:16 +08:00
committed by GitHub
parent ee95c1b38b
commit a00040dd93
4 changed files with 61 additions and 41 deletions

View File

@@ -18,6 +18,6 @@ exports["tokenizer"] = tokenizer;
exports["is_identifier"] = is_identifier;
exports["SymbolDef"] = SymbolDef;
if (typeof DEBUG !== "undefined" && DEBUG) {
if (global.UGLIFY_DEBUG) {
exports["EXPECT_DIRECTIVE"] = EXPECT_DIRECTIVE;
}