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)
Sun, Dec 15, 6:32 PM
Unknown Object (File)
Thu, Nov 28, 3:23 AM
Unknown Object (File)
Thu, Nov 28, 3:21 AM
Unknown Object (File)
Thu, Nov 28, 3:20 AM
Unknown Object (File)
Oct 27 2024, 7:04 AM
Unknown Object (File)
Oct 27 2024, 7:04 AM
Unknown Object (File)
Oct 27 2024, 7:04 AM
Unknown Object (File)
Oct 27 2024, 6:53 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.