aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/LexBash.cxx3
-rw-r--r--src/LexPerl.cxx2
2 files changed, 5 insertions, 0 deletions
diff --git a/src/LexBash.cxx b/src/LexBash.cxx
index abd02c46b..809a396da 100644
--- a/src/LexBash.cxx
+++ b/src/LexBash.cxx
@@ -144,6 +144,9 @@ static void ColouriseBashDoc(unsigned int startPos, int length, int initStyle,
char *Delimiter; // the Delimiter, 256: sizeof PL_tokenbuf
HereDocCls() {
State = 0;
+ Quote = 0;
+ Quoted = false;
+ Indent = 0;
DelimiterLength = 0;
Delimiter = new char[HERE_DELIM_MAX];
Delimiter[0] = '\0';
diff --git a/src/LexPerl.cxx b/src/LexPerl.cxx
index d6a34b910..06f8f603d 100644
--- a/src/LexPerl.cxx
+++ b/src/LexPerl.cxx
@@ -133,6 +133,8 @@ static void ColourisePerlDoc(unsigned int startPos, int length, int initStyle,
char *Delimiter; // the Delimiter, 256: sizeof PL_tokenbuf
HereDocCls() {
State = 0;
+ Quote = 0;
+ Quoted = false;
DelimiterLength = 0;
Delimiter = new char[HERE_DELIM_MAX];
Delimiter[0] = '\0';