Skip to content

Commit

Permalink
Merge 370c616 into 6bcba70
Browse files Browse the repository at this point in the history
  • Loading branch information
busstoptaktik committed Nov 19, 2017
2 parents 6bcba70 + 370c616 commit 55e54a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gie.c
Expand Up @@ -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;
}
Expand All @@ -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))
Expand Down

0 comments on commit 55e54a6

Please sign in to comment.