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)
Sep 14 2025, 7:42 PM
Unknown Object (File)
Jun 21 2025, 7:43 PM
Unknown Object (File)
Jun 20 2025, 12:39 AM
Unknown Object (File)
Jun 18 2025, 3:54 AM
Unknown Object (File)
Jun 16 2025, 3:38 AM
Unknown Object (File)
Jun 12 2025, 11:37 PM
Unknown Object (File)
Jun 12 2025, 2:06 AM
Unknown Object (File)
May 25 2025, 11:02 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.