summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/config.l3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/config.l b/src/config.l
index 53b52d6..295352f 100644
--- a/src/config.l
+++ b/src/config.l
@@ -122,6 +122,7 @@ auto { TOKEN(TOK_AUTO); }
return -1;
}
+ BEGIN(NEEDSPACE);
return TOK_ADDR4;
}
@@ -180,7 +181,7 @@ auto { TOKEN(TOK_AUTO); }
return -1;
}
}
-<ADDR6>\] { yylloc->last_column++; BEGIN(INITIAL); return TOK_ADDR6; }
+<ADDR6>\] { yylloc->last_column++; BEGIN(NEEDSPACE); return TOK_ADDR6; }
<INITIAL,NEEDSPACE>#.* { yylloc->last_column += yyleng; }
<INITIAL,NEEDSPACE>\/\/.* { yylloc->last_column += yyleng; }