Overview
| Artifact ID: | 35e796169e3b29a821ce31a4c66a80bddf4609b3 |
|---|---|
| Ticket: | 3606683fffffffffffffffffffffffffffffffff
fix for 3604074 does not work |
| User & Date: | tgl on 2013-03-05 22:43:55 |
Changes
- icomment:
The flag field is only nonzero for the special "pre" and "post" states that represent the NFA's starting and ending points. It's not valid to remove either one (at least not without creating a replacement), so the tests are there to ensure we don't try to do so. The previous coding had an assert() that seemed to imply that the pre and post states could never have empty arcs attached at all, but I think that's wrong --- at least, if I remember the testing I was doing over the weekend, this code can migrate empties to be attached directly to the pre state, and I don't see a reason why that's not ok. They'll be gone anyway when fixempties is done.
- login: "tgl"
- mimetype: "text/plain"
- username: "tgl"