Page MenuHomeFreeBSD

Rewrite scan procedure with a FSM.
ClosedPublic

Authored by delphij on Jul 27 2015, 6:43 PM.
Tags
None
Referenced Files
Unknown Object (File)
Thu, May 14, 4:52 PM
Unknown Object (File)
Sat, May 2, 11:08 AM
Unknown Object (File)
Tue, Apr 28, 6:09 PM
Unknown Object (File)
Tue, Apr 28, 6:04 PM
Unknown Object (File)
Tue, Apr 28, 5:18 PM
Unknown Object (File)
Mon, Apr 27, 9:42 PM
Unknown Object (File)
Thu, Apr 16, 11:10 PM
Unknown Object (File)
Thu, Apr 16, 11:07 PM
Subscribers

Details

Summary

This proposed changeset rewrites the scan procedure of ident(1) using a
FSM. This improves code readability by making clear transits between
different states, and avoids bug with handling repeated $'s.

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

delphij retitled this revision from to Rewrite scan procedure with a FSM..
delphij updated this object.
delphij edited the test plan for this revision. (Show Details)
delphij added reviewers: bapt, emaste, pfg.
bapt edited edge metadata.
This revision is now accepted and ready to land.Jul 27 2015, 6:48 PM
This revision was automatically updated to reflect the committed changes.