summaryrefslogtreecommitdiff
path: root/library/backend/vcc.y
Unidiff
Diffstat (limited to 'library/backend/vcc.y') (more/less context) (ignore whitespace changes)
-rw-r--r--library/backend/vcc.y2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/backend/vcc.y b/library/backend/vcc.y
index 94a8fea..4c79368 100644
--- a/library/backend/vcc.y
+++ b/library/backend/vcc.y
@@ -1012,50 +1012,52 @@ static int yylex() {
1012 DBG_(("db: SEMICOLON\n")); 1012 DBG_(("db: SEMICOLON\n"));
1013 lexPushLookaheadc(c); 1013 lexPushLookaheadc(c);
1014 handleMoreRFC822LineBreak(c); 1014 handleMoreRFC822LineBreak(c);
1015 lexSkipLookahead(); 1015 lexSkipLookahead();
1016 return SEMICOLON; 1016 return SEMICOLON;
1017 } 1017 }
1018 else if (strchr("\n",c)) { 1018 else if (strchr("\n",c)) {
1019 ++mime_lineNum; 1019 ++mime_lineNum;
1020 /* consume all line separator(s) adjacent to each other */ 1020 /* consume all line separator(s) adjacent to each other */
1021 c = lexLookahead(); 1021 c = lexLookahead();
1022 while (strchr("\n",c)) { 1022 while (strchr("\n",c)) {
1023 lexSkipLookahead(); 1023 lexSkipLookahead();
1024 c = lexLookahead(); 1024 c = lexLookahead();
1025 ++mime_lineNum; 1025 ++mime_lineNum;
1026 } 1026 }
1027 DBG_(("db: LINESEP\n")); 1027 DBG_(("db: LINESEP\n"));
1028 return LINESEP; 1028 return LINESEP;
1029 } 1029 }
1030 else { 1030 else {
1031 char *p = 0; 1031 char *p = 0;
1032 lexPushLookaheadc(c); 1032 lexPushLookaheadc(c);
1033 if (lexWithinMode(L_BASE64)) { 1033 if (lexWithinMode(L_BASE64)) {
1034 /* get each char and convert to bin on the fly... */ 1034 /* get each char and convert to bin on the fly... */
1035 p = lexGetDataFromBase64(); 1035 p = lexGetDataFromBase64();
1036 #if 0
1036 yylval.str = p; 1037 yylval.str = p;
1037 return STRING; 1038 return STRING;
1039 #endif
1038 } 1040 }
1039 else if (lexWithinMode(L_QUOTED_PRINTABLE)) { 1041 else if (lexWithinMode(L_QUOTED_PRINTABLE)) {
1040 p = lexGetQuotedPrintable(); 1042 p = lexGetQuotedPrintable();
1041 } 1043 }
1042 else { 1044 else {
1043#ifdef _SUPPORT_LINE_FOLDING 1045#ifdef _SUPPORT_LINE_FOLDING
1044 p = lexGet1Value(); 1046 p = lexGet1Value();
1045#else 1047#else
1046 p = lexGetStrUntil(";\n"); 1048 p = lexGetStrUntil(";\n");
1047#endif 1049#endif
1048 } 1050 }
1049 if (p) { 1051 if (p) {
1050 DBG_(("db: STRING: '%s'\n", p)); 1052 DBG_(("db: STRING: '%s'\n", p));
1051 yylval.str = p; 1053 yylval.str = p;
1052 return STRING; 1054 return STRING;
1053 } 1055 }
1054 else return 0; 1056 else return 0;
1055 } 1057 }
1056 } 1058 }
1057 else { 1059 else {
1058 /* normal mode */ 1060 /* normal mode */
1059 while (1) { 1061 while (1) {
1060 int c = lexGetc(); 1062 int c = lexGetc();
1061 switch(c) { 1063 switch(c) {