Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove TOK_A_YEAR token | Christoph Dittmann | 2018-06-10 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | | This fixes #1626. The tokenizer eagerly classifies 4-digit integers as TOK_A_YEAR tokens. In some contexts such as "every 1000 years", this causes errors. I think the tokenizer does not have enough information available to distinguish between integers and years. After this patch, the tokenizer will always classify integers as TOK_INT tokens. The "has 4 digits" heuristic to determine if an integer is a year is moved to the place where it's actually needed (and it can be slightly more generic there, too). | ||||
* | Changed testing format to aid with debugging | John Wiegley | 2011-02-12 | 1 | -3/+3 |
| | |||||
* | Removed needless "=== 0" and ">>>2" lines from test files | John Wiegley | 2011-02-12 | 1 | -2/+0 |
| | |||||
* | The new period parser is passing all tests | John Wiegley | 2009-11-18 | 1 | -2/+12 |
| | |||||
* | Renamed date_interval_t::end to finish | John Wiegley | 2009-11-17 | 1 | -1/+1 |
| | |||||
* | Rewrote the way date and time I/O is managed | John Wiegley | 2009-10-25 | 1 | -2/+2 |
| | |||||
* | Added regression test for period range fix | John Wiegley | 2009-06-18 | 1 | -0/+10 |