Change path spec to either start with / or ./
This commit is contained in:
parent
ea60cf668b
commit
0b1e1203c2
@ -44,7 +44,7 @@ modemdev return MODDEV;
|
||||
\{ return OBRACE;
|
||||
\} return CBRACE;
|
||||
\/[^\n]+\/ yylval.string = strdup(yytext); return REGEX;
|
||||
\/[a-zA-Z0-9/._-]+ yylval.string = strdup(yytext); return PATH;
|
||||
[./][a-zA-Z0-9/._-]+ yylval.string = strdup(yytext); return PATH;
|
||||
[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3} yylval.string = strdup(yytext); return IPADDR;
|
||||
[a-zA-Z0-9_-]+ yylval.string = strdup(yytext); return FNAME;
|
||||
; return SCOLON;
|
||||
|
@ -1,7 +1,7 @@
|
||||
main {
|
||||
modemdev "/dev/cuaa2";
|
||||
loglevel all;
|
||||
database "phoned.db";
|
||||
database "./phoned.db";
|
||||
};
|
||||
filters {
|
||||
filter test1 {
|
||||
|
Loading…
Reference in New Issue
Block a user