diff options
Diffstat (limited to 'src/mustach/README.md')
-rw-r--r-- | src/mustach/README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mustach/README.md b/src/mustach/README.md index 1ad57262..a6df19f6 100644 --- a/src/mustach/README.md +++ b/src/mustach/README.md @@ -57,7 +57,7 @@ It then outputs the result of applying the templates files to the JSON file. ### Portability Some system does not provide *open_memstream*. In that case, tell your -prefered compiler to declare the preprocessor symbol **NO_OPEN_MEMSTREAM**. +preferred compiler to declare the preprocessor symbol **NO_OPEN_MEMSTREAM**. Example: gcc -DNO_OPEN_MEMSTREAM @@ -84,7 +84,7 @@ By default, the current implementation provides the following extensions: This is a core extension implemented in file **mustach.c**. -In somecases the name of the key used for substition begins with a +In somecases the name of the key used for substitution begins with a character reserved for mustach: one of `#`, `^`, `/`, `&`, `{`, `>` and `=`. This extension introduces the special character `:` to explicitly tell mustach to just substitute the value. So `:` becomes a new special @@ -141,7 +141,7 @@ of implementation specific. - `NO_COLON_EXTENSION_FOR_MUSTACH` This macro remove the ability to use colon (:) - as explicit command for variable substituion. + as explicit command for variable substitution. This extension allows to have name starting with one of the mustach character `:#^/&{=>` |