Mercurial > cpython-lru_cache-weakref
comparison Modules/parsermodule.c @ 27775:c18422716ff2 legacy-trunk
Remove duplicate code introduced by fixing bug #678518
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Mon, 10 Feb 2003 01:08:50 +0000 |
| parents | 2c389a0448a4 |
| children | 9acdc6c4416a |
comparison
equal
deleted
inserted
replaced
| 27774:bfc524379307 | 27775:c18422716ff2 |
|---|---|
| 1717 && is_even(nch) && (nch >= 2)); | 1717 && is_even(nch) && (nch >= 2)); |
| 1718 | 1718 |
| 1719 if (!res && !PyErr_Occurred()) | 1719 if (!res && !PyErr_Occurred()) |
| 1720 err_string("illegal global statement"); | 1720 err_string("illegal global statement"); |
| 1721 | 1721 |
| 1722 if (!res && !PyErr_Occurred()) | |
| 1723 err_string("illegal global statement"); | |
| 1724 | |
| 1725 if (res) | 1722 if (res) |
| 1726 res = (validate_name(CHILD(tree, 0), "global") | 1723 res = (validate_name(CHILD(tree, 0), "global") |
| 1727 && validate_ntype(CHILD(tree, 1), NAME)); | 1724 && validate_ntype(CHILD(tree, 1), NAME)); |
| 1728 for (j = 2; res && (j < nch); j += 2) | 1725 for (j = 2; res && (j < nch); j += 2) |
| 1729 res = (validate_comma(CHILD(tree, j)) | 1726 res = (validate_comma(CHILD(tree, j)) |
