]> mj.ucw.cz Git - libucw.git/commit
conf2: implemented all list operations in the interpreter
authorRobert Spalek <robert@ucw.cz>
Fri, 21 Apr 2006 16:20:38 +0000 (18:20 +0200)
committerRobert Spalek <robert@ucw.cz>
Fri, 21 Apr 2006 16:20:38 +0000 (18:20 +0200)
commit4a2789d35e6d6e4b00c4102dcd82546e8117f47d
treeacdc796466e1bab3e53114ce2c5813f0899fe460
parent9ea4e64043c2ed8d91ac661e0aa98d9c3f9ff4b1
conf2: implemented all list operations in the interpreter

- added operations OP_EDIT, OP_AFTER, OP_BEFORE, and flags OP_1ST, OP_2ND
  denoting the phase (forming a search query vs. filling in the data)
- add_to_list() extended to support all list operations
- definition of stack moved closer to the interpreter, because many
  functions don't need it
- implemented find_list_node(), opening_brace (former increase_stack), and
  closing_brace() that fully support all operations
- the top of interpret_line() rewritten too
lib/conf2.c