Commit Graph

5 Commits

Author SHA1 Message Date
matze b4f381ed4c __ini_value: fix use of removed constant
_param was removed in preference of the param functions.
2021-09-29 20:24:22 +02:00
matze 0d4868dcd5 __ini_value: new parameter --quote
This parameter ensures the value is surrounded by double quotes. As it
directly edits the value variable, the quoting will be added/removed
automaticly.
2021-03-20 15:39:38 +01:00
matze 7380fcaaf9 __ini_value: add missing bracket
(oops)
2021-03-13 18:46:04 +01:00
matze b76d848540 __ini_value: add delimiter space detection
This adds spaces around the delimiter to provide some flexibility than
just do it in the delimiter string directly. It can be set via the
parameter `--delimiter-space`.
2021-03-11 21:50:55 +01:00
matze 8c7a6906de __ini_value: starting base parts
Initial body of the __ini_value. It contains two awk-scripts: to detect
the state that is important to trigger a code generation, and to change
that line to the correct line. It might have problems which is not
matured enoght.

The most difficult points will be the comment detection, as this is a
critical point as you don't know if the user want to have this touched.
2021-03-05 20:38:19 +01:00