Mercury Bugs - mercury | |||||
| View Issue Details | |||||
| 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. | ||||
| Relationships | |||||
| Attached Files | https://bugs.mercurylang.org/file_download.php?file_id=204&type=bug | ||||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
| 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 | ||