summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
Diffstat (limited to 'Parser')
-rw-r--r--Parser/pegen_errors.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Parser/pegen_errors.c b/Parser/pegen_errors.c
index 20232f3..8a02aab 100644
--- a/Parser/pegen_errors.c
+++ b/Parser/pegen_errors.c
@@ -402,7 +402,7 @@ error:
void
_Pypegen_set_syntax_error(Parser* p, Token* last_token) {
- // Existing sintax error
+ // Existing syntax error
if (PyErr_Occurred()) {
// Prioritize tokenizer errors to custom syntax errors raised
// on the second phase only if the errors come from the parser.