| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0000319 | mercury | Bug | public | 2014-02-15 21:01 | 2014-02-25 12:16 | ||||
| Reporter | sebgod | ||||||||
| Assigned To | pbone | ||||||||
| Priority | normal | Severity | minor | Reproducibility | always | ||||
| Status | closed | Resolution | fixed | ||||||
| Platform | Linux | OS | Debian | OS Version | Wheezy 7.x | ||||
| Product Version | |||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0000319: lex_demo in extras/lex/samples fails to start | ||||||||
| Description | running the lex_demo yields: Uncaught Mercury exceptiopn: Software Error: string.unsafe_index: illegal sequence. The fault is due to the anybut/1 clause in lex.m:730 0x01 `..` 0xff Using this range will raise the mentioned exception. | ||||||||
| Steps To Reproduce | * checkout master branch * build+install liblex * build+run lex_demo | ||||||||
| Additional Information | The applied patch fixes the problem, but the resulting code will only parse ASCII characters (the nonpatched code would have parsed only ISO-Latin characters, not the full Unicode range) | ||||||||
| Tags | No tags attached. | ||||||||
| Attached Files |
| ||||||||
Notes |
|
|
sebgod (reporter) 2014-02-25 08:11 |
Can be closed since lex.m is fixed in the master branch: https://github.com/Mercury-Language/mercury/commit/8c5a350c4205bd6b08360e2c27667c6fdd7e0a21 |
|
pbone (administrator) 2014-02-25 12:16 |
Thank you Sebastien for your patches. |
Issue History |
|||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2014-02-15 21:01 | sebgod | New Issue | |
| 2014-02-15 21:01 | sebgod | File Added: lex.diff | |
| 2014-02-25 08:11 | sebgod | Note Added: 0000651 | |
| 2014-02-25 12:16 | pbone | Note Added: 0000652 | |
| 2014-02-25 12:16 | pbone | Status | new => closed |
| 2014-02-25 12:16 | pbone | Assigned To | => pbone |
| 2014-02-25 12:16 | pbone | Resolution | open => fixed |


