diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2007-08-15 07:32:56 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2007-08-15 07:32:56 +0000 |
commit | feea1e9423e7a95b882dde425f82feee0736654f (patch) | |
tree | 441251c9bb41eb54827ca7efbb712cda729c8570 /Python/pythonrun.c | |
parent | a80458b466665b3f7fcf54e212cb1775f306edd9 (diff) | |
download | cpython-feea1e9423e7a95b882dde425f82feee0736654f.tar.gz |
Implement PEP 3131. Add isidentifier to str.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index cc0926a004..32bc6f714f 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -1530,6 +1530,10 @@ err_input(perrdetail *err) case E_LINECONT: msg = "unexpected character after line continuation character"; break; + + case E_IDENTIFIER: + msg = "invalid character in identifier"; + break; default: fprintf(stderr, "error=%d\n", err->error); msg = "unknown parsing error"; |