summaryrefslogtreecommitdiffstats
path: root/Parser
diff options
context:
space:
mode:
Diffstat (limited to 'Parser')
-rw-r--r--Parser/grammar1.c2
-rw-r--r--Parser/tokenizer.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/Parser/grammar1.c b/Parser/grammar1.c
index e0b8fbb..c702040 100644
--- a/Parser/grammar1.c
+++ b/Parser/grammar1.c
@@ -41,7 +41,7 @@ PyGrammar_LabelRepr(label *lb)
}
}
else {
- Py_FatalError("invalid label");
+ Py_FatalError("invalid grammar label");
return NULL;
}
}
diff --git a/Parser/tokenizer.c b/Parser/tokenizer.c
index 75e8da4..c650442 100644
--- a/Parser/tokenizer.c
+++ b/Parser/tokenizer.c
@@ -1032,7 +1032,7 @@ tok_backup(struct tok_state *tok, int c)
{
if (c != EOF) {
if (--tok->cur < tok->buf) {
- Py_FatalError("beginning of buffer");
+ Py_FatalError("tokenizer beginning of buffer");
}
if (*tok->cur != c) {
*tok->cur = c;