diff options
author | Omar Polo <op@omarpolo.com> | 2021-06-29 12:17:40 +0000 |
---|---|---|
committer | Omar Polo <op@omarpolo.com> | 2021-06-29 12:17:40 +0000 |
commit | 3b21cca385c403247960cfe9385dda1d56f28670 (patch) | |
tree | 341ea2e3cad32b3853c9fa182d0cdfd68404d583 /ChangeLog | |
parent | fafc6849577c9374ee6acb8ae7f30104464bb08e (diff) |
allow to define macros in the config file
Macros can be defined at the top of the configuration file:
dir = "/var/gemini"
cert = "/etc/keys"
and re-used later, for example
server "foo" {
root "$dir/foo" # -> /var/gemini/foo
cert "$cert/foo.pem" # -> /etc/keys/foo.pem
}
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,5 +1,7 @@ 2021-06-29 Omar Polo <op@omarpolo.com> + * parse.y (yylex): allow to define macros in the config file + * gmid.c (main): use getopt_long, add --help as synonym of -h and -V/--version 2021-06-17 Omar Polo <op@omarpolo.com> |