From abe4cd127ccbd71fc82801c7a403eccb3d784f6d Mon Sep 17 00:00:00 2001 From: rillig Date: Tue, 11 Apr 2006 18:41:50 +0000 Subject: Added an explanation for the state names of the patch file parser. --- pkgtools/pkglint/files/doc/chap.statemachines.xml | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pkgtools/pkglint/files/doc/chap.statemachines.xml b/pkgtools/pkglint/files/doc/chap.statemachines.xml index 4142cbc63af..7501e38e1e6 100644 --- a/pkgtools/pkglint/files/doc/chap.statemachines.xml +++ b/pkgtools/pkglint/files/doc/chap.statemachines.xml @@ -1,4 +1,4 @@ - + State machines @@ -60,6 +60,18 @@ + The states on the left side are for parsing context diffs, + the ones on the right side are for unified diffs. Some of the + state names are highly abbreviated as follows. The first letter + gives the format of the patch, which is c for + context diffs and u for unified diffs. The second + letter gives the current syntactical level, which is + f for a file header, h for a hunk + header, or l for the hunk lines. The third letter + describes the action that belongs to the line, which is + a for an addition, and d for a + deletion. + -- cgit v1.2.3