aboutsummaryrefslogtreecommitdiff
path: root/project/dclib/dclib-parser.h
diff options
context:
space:
mode:
authorWiimm <wiimm@wiimm.de>2023-07-11 16:18:26 +0200
committerWiimm <wiimm@wiimm.de>2023-07-11 16:18:26 +0200
commitb5b1fe7fc0cf460d6204c18ba7bb4c40f7597efa (patch)
treea7b4bb1e79fde818dd7af17fee1207ae40178ab7 /project/dclib/dclib-parser.h
parent74ac39c1af5c8e85bf10711aed2ffc9dfee2e277 (diff)
SZS v2.35a
Diffstat (limited to '')
-rw-r--r--project/dclib/dclib-parser.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/project/dclib/dclib-parser.h b/project/dclib/dclib-parser.h
index e9a4830..ff73a58 100644
--- a/project/dclib/dclib-parser.h
+++ b/project/dclib/dclib-parser.h
@@ -56,15 +56,17 @@ typedef struct ScanText_t
//-- options
bool ignore_comments; // true: ignore lines with leading '#'
+ bool ignore_values; // true: ignore lines with leading '@'
int detect_sections; // >0: detect lines of format '[...]'
- //-- current statee
+ //-- current state
ccp ptr; // current text position
ccp eot; // end of text
ccp line; // current line
ccp eol; // end of current line
+ bool is_value; // current line begins with '@'
bool is_eot; // end of text reached
bool is_section; // new section reached
bool is_term; // := is_eot || is_section