Statistics
| Branch: | Revision:

iof-bird-daemon / conf / cf-lex.l @ 49e7e5ee

History | View | Annotate | Download (4.22 KB)

# Date Author Comment
49e7e5ee 01/10/1999 12:18 AM Martin Mares

New makefiles. Includes support for out-of-source-tree builds.

cc12cf05 12/06/1998 11:10 PM Martin Mares

cf_error() now accepts any format strings instead of just an error
message. Also added extra kludge to get rid of collisions of REJECT
symbols.

b35d72ac 12/06/1998 11:59 AM Martin Mares

Name cleanups as suggested by Pavel:

- cfg_strcpy() > cfg_strdup()
mempool -> linpool, mp_* -> lp_* [to avoid confusion with memblock, mb_*]

Anyway, it might be better to stop ranting about names and do some real work.

49e4a4d1 11/29/1998 09:59 PM Martin Mares

Created new functions for allocating configuration data:

o  cfg_alloc(size) -- generic memory allocation
o cfg_allocu(size) -- unaligned memory allocation
o cfg_allocz(size) -- zeroed memory allocation
o cfg_strcpy(str) -- allocate a copy of a string...
0b62c3a7 11/27/1998 09:32 PM Martin Mares

Trivial 15-line bison excercise: Implemented expressions including
user-defined numeric symbols. Whenever possible, use `expr' instead
of `NUM' to get full express ion power :-)

8450be97 11/27/1998 09:07 PM Martin Mares

Added generator of default names.

82fc7be7 11/27/1998 07:35 PM Martin Mares

Lexical analyser.