diff options
Diffstat (limited to 'tcllib/modules/pt/include/param_okfail.inc')
-rw-r--r-- | tcllib/modules/pt/include/param_okfail.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tcllib/modules/pt/include/param_okfail.inc b/tcllib/modules/pt/include/param_okfail.inc new file mode 100644 index 0000000..0751f77 --- /dev/null +++ b/tcllib/modules/pt/include/param_okfail.inc @@ -0,0 +1,7 @@ +[para] + +Success and failure of the test are both recorded directly in ST. +Success further clears ES, wheras failure sets the pair of CL and +expected input (encoded as a leaf parsing expression) as the new ES +and then rewinds CL by one character, preparing the machine for +another parse attempt by a possible alternative. |