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 OBRACE;
|
||||||
\} return CBRACE;
|
\} return CBRACE;
|
||||||
\/[^\n]+\/ yylval.string = strdup(yytext); return REGEX;
|
\/[^\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;
|
[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;
|
[a-zA-Z0-9_-]+ yylval.string = strdup(yytext); return FNAME;
|
||||||
; return SCOLON;
|
; return SCOLON;
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
main {
|
main {
|
||||||
modemdev "/dev/cuaa2";
|
modemdev "/dev/cuaa2";
|
||||||
loglevel all;
|
loglevel all;
|
||||||
database "phoned.db";
|
database "./phoned.db";
|
||||||
};
|
};
|
||||||
filters {
|
filters {
|
||||||
filter test1 {
|
filter test1 {
|
||||||
|
Loading…
Reference in New Issue
Block a user