SUBST: fix conditionals creating sub-contexts
authorWilfried Goesgens <dothebart@citadel.org>
Sat, 27 Oct 2012 18:02:22 +0000 (20:02 +0200)
committerWilfried Goesgens <dothebart@citadel.org>
Sat, 27 Oct 2012 18:02:22 +0000 (20:02 +0200)
commit3d5b1c06bbf76beadb41d236aca79ecca04f7e2e
tree2d81994a02c6dbc24e05e89b758c86a0c658fb34
parentb3261cb6bd37bf9a5da60e07aa1762741a88629e
SUBST: fix conditionals creating sub-contexts

  - conditionals now return 0 for error, n for conditional start, or -n for conditional end.
  - if the current context has the same n as -n from the token, the dynamic sub context is to be removed.
webcit/subst.c