diff options
Diffstat (limited to 'cftoken.l')
-rw-r--r-- | cftoken.l | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -111,6 +111,7 @@ ecl \} %s S_CNF %s S_IFACE +%s S_PROFILE %s S_PREF %s S_HOST %s S_DUID @@ -137,6 +138,15 @@ ecl \} return (IFNAME); } + /* profile configuration */ +<S_CNF>profile { DECHO; BEGIN S_PROFILE; return (PROFILE); } +<S_PROFILE>{string} { + DECHO; + yylval.str = strdup(yytext); + BEGIN S_CNF; + return (PROFILENAME); +} + /* host configuration */ <S_CNF>host { DECHO; BEGIN S_HOST; return (HOST); } <S_HOST>{string} { |