Skip to content

Commit 17bb0f1

Browse files
committed
Clean up unused parser flags
1 parent 4dca48e commit 17bb0f1

1 file changed

Lines changed: 3 additions & 7 deletions

File tree

lib/Parser/ParseFlags.h

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,19 @@
44
//-------------------------------------------------------------------------------------------------------
55
#pragma once
66

7-
87
// Parse flags
98
enum
109
{
1110
fscrNil = 0,
12-
fscrHtmlComments = 1 << 0, // throw away html style comments
11+
// Unused = 1 << 0,
1312
fscrReturnExpression = 1 << 1, // call should return the last expression
1413
fscrImplicitThis = 1 << 2, // 'this.' is optional (for Call)
1514
fscrImplicitParents = 1 << 3, // the parents of 'this' are implicit
16-
fscrMapQuote = 1 << 4, // map single quote to double quote
15+
// Unused = 1 << 4,
1716
fscrDynamicCode = 1 << 5, // The code is being generated dynamically (eval, new Function, etc.)
1817
// Unused = 1 << 6,
1918
fscrNoImplicitHandlers = 1 << 7, // same as Opt NoConnect at start of block
20-
21-
// prevents the need to make a copy to strip off trailing html comments
22-
// - modifies the behavior of fscrHtmlComments
23-
fscrDoNotHandleTrailingHtmlComments = 1 << 8,
19+
// Unused = 1 << 8,
2420

2521
#if DEBUG
2622
fscrEnforceJSON = 1 << 9, // used together with fscrReturnExpression

0 commit comments

Comments
 (0)