File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,7 @@ moduleDeclarationsElement:
5252 comment
5353 | declareStmt
5454 | implementsStmt
55- | moduleOption
56- | unknownLine;
55+ | moduleOption;
5756
5857macroStmt : macroConstStmt | macroIfThenElseStmt;
5958
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ export class SyntaxParser {
3939 // });
4040
4141 // Refuse to do anything that seems like too much work.
42- if ( document . textDocument . lineCount > 1000 ) {
42+ if ( document . textDocument . lineCount > 1500 ) {
4343 // TODO: Make this an option that people can increase or decrease.
4444 console . log ( `Document oversize: ${ document . textDocument . lineCount } lines.` ) ;
4545 console . warn ( `Syntax parsing has been disabled to prevent crashing.` ) ;
You can’t perform that action at this time.
0 commit comments