diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-02-21 19:24:18 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2015-02-21 19:54:22 +0100 |
commit | 611bb221a96e50fd8561886ec34d8a42e136b5ce (patch) | |
tree | fc1a991b454100c89bb8e43e60f18edb0493f39f /src/undo.h | |
parent | 99abf0775bc4df4f228bab20d23da580952a7423 (diff) | |
download | sciteco-611bb221a96e50fd8561886ec34d8a42e136b5ce.tar.gz |
throw error instead of assertion when loop is closed (>) or continued (F>) without a corresponding loop start (<)
* assertions were introduced very early when there was no proper error handling
in SciTECO. However it points to a macro programming error instead of
a SciTECO programming error and should not crash the editor.
* Perhaps it would be best to check for this kind of "syntax" error also
in parse-only modes. This is not done currently.
* part of the solution to issue #3
Diffstat (limited to 'src/undo.h')
0 files changed, 0 insertions, 0 deletions