aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/gie.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gie.c b/src/gie.c
index 4b89fe8f..ac738926 100644
--- a/src/gie.c
+++ b/src/gie.c
@@ -781,7 +781,7 @@ static int dispatch (char *cmnd, char *args) {
int last_errno = proj_errno_reset (T.P);
if (0==level%2) {
- if (0==strcmp (cmnd, "BEGIN"))
+ if (0==strcmp (cmnd, "BEGIN") || 0==strcmp (cmnd, "<begin>"))
level++;
return 0;
}
@@ -807,6 +807,7 @@ static int dispatch (char *cmnd, char *args) {
if (0==strcmp (cmnd, "ECHO")) return echo (args);
if (0==strcmp (cmnd, "echo")) return echo (args);
if (0==strcmp (cmnd, "END")) return finish_previous_operation (args), level++, 0;
+ if (0==strcmp (cmnd, "<end>")) return finish_previous_operation (args), level++, 0;
if ('#'==cmnd[0]) return comment (args);
if (proj_errno(T.P))