OSSP CVS Repository

ossp - Difference in ossp-pkg/cfg/cfg_syn_scan.l versions 1.3 and 1.4
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/cfg/cfg_syn_scan.l 1.3 -> 1.4

--- cfg_syn_scan.l       2002/07/05 15:11:20     1.3
+++ cfg_syn_scan.l       2002/07/05 18:32:37     1.4
@@ -139,6 +139,9 @@
     }
     *cpStr++ = result;
 }
+<SS_DQ>\\\n[ \t]* {
+    /* no-op */
+}
 <SS_DQ>\\n { *cpStr++ = '\n'; }
 <SS_DQ>\\r { *cpStr++ = '\r'; }
 <SS_DQ>\\t { *cpStr++ = '\t'; }
@@ -167,6 +170,9 @@
     BEGIN(INITIAL);
     return T_STRING;
 }
+<SS_SQ>\\\n[ \t]* {
+    /* no-op */
+}
 <SS_SQ>\\(.|\n) {
     *cpStr++ = yytext[1];
 }
@@ -200,6 +206,9 @@
         *cpStr++ = yytext[1];
     }
 }
+<SS_FQ>\\\n[ \t]* {
+    /* no-op */
+}
 <SS_FQ>[^\!\"\#\$\%\&\'\(\)\*\+\,\-\.\/\:\;\<\=\>\?\@\[\\\]\^\_\`\{\|\}\~] {
     char *cp = yytext;
     while (*cp != '\0')
@@ -228,12 +237,18 @@
 "}" { return T_CLOSE; }
 
     /* plain text word */
+\\\n[ \t]* {
+    /* no-op */
+}
 (.|\n) {
     cpStr = caStr;
     *cpStr++ = yytext[0];
     BEGIN(SS_PT);
 }
-<SS_PT>[^ \t\n;{}"']+ {
+<SS_PT>\\\n[ \t]* {
+    /* no-op */
+}
+<SS_PT>[^ \t\n;{}\\"']+ {
     char *cp = yytext;
     while (*cp != '\0')
         *cpStr++ = *cp++;

CVSTrac 2.0.1