diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-02 10:44:18 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-05-02 11:59:31 +0300 |
commit | e15ffff6b808d2b60c08f2a4401ff35a3dc37bb7 (patch) | |
tree | 009756e985d3b1291bfeec4883bf85bfdd17b86b /tests | |
parent | 62eb87b149166588d766d5a272e5232ecf86be5d (diff) | |
download | sciteco-e15ffff6b808d2b60c08f2a4401ff35a3dc37bb7.tar.gz |
implemented folding for the SciTECO lexer
* This currently folds only {...} string arguments and embedded braces,
most prominently `@^Um{...}` macro definitions..
* Any additional folding for loops and IF-statements should rely on book
keeping by the main parser.
This would also help catch syntactic errors, like dangling IFs.
* We do keep track of the loop nesting, but currently only in execution mode.
* It cannot be disabled via the "fold" property.
Lexers in the container do not have properties.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions