diff options
author | Edward Loper <edloper@gradient.cis.upenn.edu> | 2004-08-09 02:06:06 +0000 |
---|---|---|
committer | Edward Loper <edloper@gradient.cis.upenn.edu> | 2004-08-09 02:06:06 +0000 |
commit | 7c748469c7688092152ef9bc6b893ffcdfb2c328 (patch) | |
tree | 2a5a1c6aa7b6ad40ce38a2a00e54f08a4d0a6bc1 /Python/sysmodule.c | |
parent | 103d26e851e781c17c03b711b39ab03f683346a9 (diff) | |
download | cpython-git-7c748469c7688092152ef9bc6b893ffcdfb2c328.tar.gz |
Rewrote Parser, using regular expressions instead of walking though
the string one line at a time. The resulting code is (in my opinion,
anyway), much easier to read. In the process, I found and fixed a
bug in the orginal parser's line numbering in error messages (it was
inconsistant between 0-based and 1-based). Also, check for missing
blank lines after the prompt on all prompt lines, not just PS1 lines
(test added).
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions