aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.h
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2025-10-07 00:58:11 +0300
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2025-10-07 00:58:11 +0300
commita62323baa454b4a6ac698067043c8d4cf50c6561 (patch)
tree63ae9b62c0a84c2734a443e285c752ac92240e97 /src/parser.h
parent6a4b90c02f4b4991f20206d116196c8bdeca9da8 (diff)
downloadsciteco-a62323baa454b4a6ac698067043c8d4cf50c6561.tar.gz
throw an error immediately after nEB if n != 0
* When typing nEBfilename$ (n != 0) you would find out that the construct is invalid only after typing out the entire command. We now throw an error immediately, ie. only Escape or string termination will be expected in interactive mode. * In batch mode, nothing should have changed.
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/parser.h b/src/parser.h
index 095f523..2308925 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -494,6 +494,9 @@ struct teco_machine_main_t {
* This is tracked even in parse-only mode.
*/
guint modifier_at : 1;
+
+ /** whether <EB> command accepts a filename */
+ guint allow_filename : 1;
} flags;
/** The nesting level of braces */