From 3b0dcb3fcba8e04843f99161de0ff0081eb25354 Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 9 Feb 2016 11:47:01 +0100 Subject: [PATCH] move file_input to top of file, as mentioned in 19acdd32b72ec4189d98a9a6fb3b0db1cf8fb471 --- jedi/parser/grammar3.5.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jedi/parser/grammar3.5.txt b/jedi/parser/grammar3.5.txt index a647880f..9a27f1ec 100644 --- a/jedi/parser/grammar3.5.txt +++ b/jedi/parser/grammar3.5.txt @@ -15,8 +15,8 @@ # file_input is a module or sequence of commands read from an input file; # eval_input is the input for the eval() functions. # NB: compound_stmt in single_input is followed by extra NEWLINE! -single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE file_input: (NEWLINE | stmt)* ENDMARKER +single_input: NEWLINE | simple_stmt | compound_stmt NEWLINE eval_input: testlist NEWLINE* ENDMARKER decorator: '@' dotted_name [ '(' [arglist] ')' ] NEWLINE