aboutsummaryrefslogtreecommitdiffhomepage
path: root/tokenizer.h
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-12-10 10:33:35 +1000
committerGravatar axel <axel@liljencrantz.se>2005-12-10 10:33:35 +1000
commit33e2c8174814db39fe86a3535832a676d774b620 (patch)
tree02edc48370ebfbc5458346258957304b4b5a3322 /tokenizer.h
parentf05da41159e0fed8d060a5768a0e36217ba47152 (diff)
Make sure tokenizer never changes input string
darcs-hash:20051210003335-ac50b-2d1b9125186b1d3f68138c2c49559d077fa5d326.gz
Diffstat (limited to 'tokenizer.h')
-rw-r--r--tokenizer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/tokenizer.h b/tokenizer.h
index a0b0109e..2a0ad513 100644
--- a/tokenizer.h
+++ b/tokenizer.h
@@ -69,6 +69,8 @@ typedef struct
int accept_unfinished;
/** Whether commants should be returned*/
int show_comments;
+ /** Flag set to true of the orig_buff points to an internal string that needs to be free()d when deallocating the tokenizer. */
+ int free_orig;
/** Type of last quote, can be either ' or ".*/
wchar_t last_quote;
}