summaryrefslogtreecommitdiffstats
path: root/conf/cf-lex.l
diff options
context:
space:
mode:
Diffstat (limited to 'conf/cf-lex.l')
-rw-r--r--conf/cf-lex.l15
1 files changed, 5 insertions, 10 deletions
diff --git a/conf/cf-lex.l b/conf/cf-lex.l
index 791d4ad..426f528 100644
--- a/conf/cf-lex.l
+++ b/conf/cf-lex.l
@@ -120,24 +120,19 @@ WHITE [ \t]
{WHITE}+
-\\\n {
- conf_lino++;
-}
+\\\n conf_lino++;
+\n { conf_lino++; return ';'; }
-\n {
- conf_lino++;
- return ';';
-}
-
-# { BEGIN(COMMENT); }
+# BEGIN(COMMENT);
-\/\* { BEGIN(CCOMM); }
+\/\* BEGIN(CCOMM);
. cf_error("Unknown character");
<COMMENT>\n {
conf_lino++;
BEGIN(INITIAL);
+ return ';';
}
<COMMENT>.