aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-24 01:31:22 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-05-24 01:31:22 +0300
commit4b266c9616f4eb359be71c44b9b2fa3373265bb0 (patch)
tree104da896ed48c01371d776e1add4962df1ff3066 /src/parser.h
parent3fda29e44ee0c9ef2a0b81d91af568c7e1c35c1f (diff)
downloadsciteco-4b266c9616f4eb359be71c44b9b2fa3373265bb0.tar.gz
new string building construct ^P disables all further string building magic
* Now, `I^P` can replace `EI`. EI is therefore now free to be repurposed as the new "mung file" command for improved TECO-11 compatibility. * On the downside when inserting large blocks of TECO code, you will have to write something like `@I{^P !...! }` * The construct is also useful when searching for carets as in `S^P^Q^`.
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h
index 5477150..41b960b 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -332,7 +332,8 @@ gboolean teco_machine_input(teco_machine_t *ctx, gunichar chr, GError **error);
typedef enum {
TECO_STRINGBUILDING_MODE_NORMAL = 0,
TECO_STRINGBUILDING_MODE_UPPER,
- TECO_STRINGBUILDING_MODE_LOWER
+ TECO_STRINGBUILDING_MODE_LOWER,
+ TECO_STRINGBUILDING_MODE_DISABLED
} teco_stringbuilding_mode_t;
/**