bpo-40593: Improve syntax errors for invalid characters in source code. (GH-20033)

This commit is contained in:
Serhiy Storchaka authored and GitHub committed 2020-05-12 12:42:04 +03:00
1 parent f3a5b7ada0
commit 74ea6b5a75
10 files changed
+92 -45

No files matched your search

-3
View File
@@ -1603,9 +1603,6 @@ err_input(perrdetail *err)
msg = "unexpected character after line continuation character";
break;
case E_IDENTIFIER:
msg = "invalid character in identifier";
break;
case E_BADSINGLE:
msg = "multiple statements found while compiling a single statement";
break;