summaryrefslogtreecommitdiff
path: root/library/backend/vcc_yacc.cpp
Unidiff
Diffstat (limited to 'library/backend/vcc_yacc.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--library/backend/vcc_yacc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/backend/vcc_yacc.cpp b/library/backend/vcc_yacc.cpp
index 5649522..5f53aef 100644
--- a/library/backend/vcc_yacc.cpp
+++ b/library/backend/vcc_yacc.cpp
@@ -1032,50 +1032,52 @@ static int yylex() {
1032 DBG_(("db: SEMICOLON\n")); 1032 DBG_(("db: SEMICOLON\n"));
1033 lexPushLookaheadc(c); 1033 lexPushLookaheadc(c);
1034 handleMoreRFC822LineBreak(c); 1034 handleMoreRFC822LineBreak(c);
1035 lexSkipLookahead(); 1035 lexSkipLookahead();
1036 return SEMICOLON; 1036 return SEMICOLON;
1037 } 1037 }
1038 else if (strchr("\n",c)) { 1038 else if (strchr("\n",c)) {
1039 ++mime_lineNum; 1039 ++mime_lineNum;
1040 /* consume all line separator(s) adjacent to each other */ 1040 /* consume all line separator(s) adjacent to each other */
1041 c = lexLookahead(); 1041 c = lexLookahead();
1042 while (strchr("\n",c)) { 1042 while (strchr("\n",c)) {
1043 lexSkipLookahead(); 1043 lexSkipLookahead();
1044 c = lexLookahead(); 1044 c = lexLookahead();
1045 ++mime_lineNum; 1045 ++mime_lineNum;
1046 } 1046 }
1047 DBG_(("db: LINESEP\n")); 1047 DBG_(("db: LINESEP\n"));
1048 return LINESEP; 1048 return LINESEP;
1049 } 1049 }
1050 else { 1050 else {
1051 char *p = 0; 1051 char *p = 0;
1052 lexPushLookaheadc(c); 1052 lexPushLookaheadc(c);
1053 if (lexWithinMode(L_BASE64)) { 1053 if (lexWithinMode(L_BASE64)) {
1054 /* get each char and convert to bin on the fly... */ 1054 /* get each char and convert to bin on the fly... */
1055 p = lexGetDataFromBase64(); 1055 p = lexGetDataFromBase64();
1056#if 0
1056 yylval.str = p; 1057 yylval.str = p;
1057 return STRING; 1058 return STRING;
1059 #endif
1058 } 1060 }
1059 else if (lexWithinMode(L_QUOTED_PRINTABLE)) { 1061 else if (lexWithinMode(L_QUOTED_PRINTABLE)) {
1060 p = lexGetQuotedPrintable(); 1062 p = lexGetQuotedPrintable();
1061 } 1063 }
1062 else { 1064 else {
1063#ifdef _SUPPORT_LINE_FOLDING 1065#ifdef _SUPPORT_LINE_FOLDING
1064 p = lexGet1Value(); 1066 p = lexGet1Value();
1065#else 1067#else
1066 p = lexGetStrUntil(";\n"); 1068 p = lexGetStrUntil(";\n");
1067#endif 1069#endif
1068 } 1070 }
1069 if (p) { 1071 if (p) {
1070 DBG_(("db: STRING: '%s'\n", p)); 1072 DBG_(("db: STRING: '%s'\n", p));
1071 yylval.str = p; 1073 yylval.str = p;
1072 return STRING; 1074 return STRING;
1073 } 1075 }
1074 else return 0; 1076 else return 0;
1075 } 1077 }
1076 } 1078 }
1077 else { 1079 else {
1078 /* normal mode */ 1080 /* normal mode */
1079 while (1) { 1081 while (1) {
1080 int c = lexGetc(); 1082 int c = lexGetc();
1081 switch(c) { 1083 switch(c) {