Skip to content

Commit 2e50c2a

Browse files
committed
Match spaces at the begining of the file
1 parent ca27c3f commit 2e50c2a

File tree

1 file changed

+2
-2
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/antlr

1 file changed

+2
-2
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/parser/antlr/Python3.g4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1756,8 +1756,8 @@ ASYNC : 'async';
17561756
AWAIT : 'await';
17571757

17581758
NEWLINE
1759-
: ( // removed to speed up parsing:
1760-
// {atStartOfInput()}? SPACES |
1759+
: (
1760+
{atStartOfInput()}? SPACES |
17611761
( '\r'? '\n' | '\r' | '\f' ) SPACES?
17621762
)
17631763
{

0 commit comments

Comments
 (0)