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)
Fri, Nov 28, 10:10 AM
Unknown Object (File)
Tue, Nov 25, 1:26 PM
Unknown Object (File)
Tue, Nov 25, 6:24 AM
Unknown Object (File)
Sun, Nov 23, 5:35 AM
Unknown Object (File)
Sun, Nov 23, 4:25 AM
Unknown Object (File)
Sun, Nov 23, 3:37 AM
Unknown Object (File)
Sat, Nov 22, 12:30 PM
Unknown Object (File)
Fri, Nov 21, 1:58 AM
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.