diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-11-04 22:23:28 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-11-04 22:23:28 +0000 |
| commit | 3b56d41ef579c18feafbf47d170a6ea4375beb6f (patch) | |
| tree | 87d634d029dba1f786d04df4f35b75af996c74b3 /src/config/s6-frontend-config-preprocess.txt | |
| parent | 2ea40fd0c6b05d29edf5a3b62f4c0f1af6e8b8d8 (diff) | |
| download | s6-frontend-3b56d41ef579c18feafbf47d170a6ea4375beb6f.tar.gz | |
Lots of work done, doesn't build yet, next commit will
- alias subsystem moved to s6
- config subsystem deleted
- new helpers subsystem, with a s6-frontend-helper-kill program
- new s6f_equote function, to execline-quote an argv
- started the adaptation to the new s6-rc functions, in progress
Diffstat (limited to 'src/config/s6-frontend-config-preprocess.txt')
| -rw-r--r-- | src/config/s6-frontend-config-preprocess.txt | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/src/config/s6-frontend-config-preprocess.txt b/src/config/s6-frontend-config-preprocess.txt deleted file mode 100644 index e81c86e..0000000 --- a/src/config/s6-frontend-config-preprocess.txt +++ /dev/null @@ -1,38 +0,0 @@ - - Automaton for the preprocessor: - - -class | 0 1 2 3 4 -st\ev | \0 \n ! space other - -START | print print print -0 | END START CMD NORMAL NORMAL - -NORMAL | print print print print -1 | END START NORMAL NORMAL NORMAL - -CMD | add -2 | END START IGNORE CMD1 CMD2 - -IGNORE | -3 | END START IGNORE IGNORE IGNORE - -CMD1 | add -4 | X X X CMD1 CMD2 - -CMD2 | idcmd add -5 | X X X ARG CMD2 - -ARG | add -6 | X X ARG1 ARG ARG1 - -ARG1 | proc proc add add add -7 | END START ARG1 ARG1 ARG1 - -states: 0-7 plus END and X -> 4 bits -actions: 4. -> 8 bits total, fits in a char. - -print 0x10 copies the character to stdout -add 0x20 adds the character to the processing string -idcmd 0x40 ids the processing string for an !include cmd -proc 0x80 gets the filename and procs the include |
