aboutsummaryrefslogtreecommitdiff
path: root/src/ctemplates.h
diff options
context:
space:
mode:
authorAlexander Pickering <alexandermpickering@gmail.com>2019-07-21 14:33:31 -0400
committerAlexander Pickering <alexandermpickering@gmail.com>2019-07-21 14:33:31 -0400
commit8a32121cfc982484ae7e669ed3a45a1be74f7edc (patch)
tree70f760f5f0bd6150b9c4e94b783d182072ae9ec8 /src/ctemplates.h
parent781e6bf3c4130e53d9390451e73daaea9a94aee7 (diff)
downloadlibctemplates-8a32121cfc982484ae7e669ed3a45a1be74f7edc.tar.gz
libctemplates-8a32121cfc982484ae7e669ed3a45a1be74f7edc.tar.bz2
libctemplates-8a32121cfc982484ae7e669ed3a45a1be74f7edc.zip
Added break statements
Added break statements that can be used to break out of loops
Diffstat (limited to 'src/ctemplates.h')
-rw-r--r--src/ctemplates.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ctemplates.h b/src/ctemplates.h
index 8bf567d..f84876c 100644
--- a/src/ctemplates.h
+++ b/src/ctemplates.h
@@ -172,6 +172,8 @@ struct TMPL_templates{
struct TMPL_buf* out;
struct TMPL_buf* errout;
struct TMPL_tagnode* roottag;
+ int breaks;
+ int continues;
int linenum;
int error;
} TMPL_templates;