X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;ds=sidebyside;f=ucw%2Fdoc%2Fconf.txt;h=813a18358365c893b3885fc3fc611b4a0e0d3e3d;hb=HEAD;hp=777dbe10facca83e30255028803bca7296a2a71b;hpb=ae7dfec55384883a72867d4877b5283a3c1c8aa1;p=libucw.git diff --git a/ucw/doc/conf.txt b/ucw/doc/conf.txt index 777dbe10..813a1835 100644 --- a/ucw/doc/conf.txt +++ b/ucw/doc/conf.txt @@ -219,8 +219,11 @@ Creating custom parsers ~~~~~~~~~~~~~~~~~~~~~~~ If you need to parse some data type the configuration system can't -handle, you can write your own parser. But before you start, you -should know a few things. +handle, you can write your own <> +and use <> macro to declare a new option. + +There is also an obsolete way to write a custom parser. +Before you start, you should know a few things. The parser needs to support <>. To accomplish that, you have to use the <> for memory allocation.