Mercurial > hg > freeDiameter
changeset 128:0b58b533d4f6
Allow souple configuration
author | Sebastien Decugis <sdecugis@nict.go.jp> |
---|---|
date | Thu, 10 Dec 2009 14:56:19 +0900 |
parents | 8ee43cf85a5f |
children | b20b2aeeb160 |
files | extensions/test_app/ta_conf.l |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/extensions/test_app/ta_conf.l Thu Dec 10 14:39:55 2009 +0900 +++ b/extensions/test_app/ta_conf.l Thu Dec 10 14:56:19 2009 +0900 @@ -87,9 +87,9 @@ return INTEGER; } - /* Recognize quoted strings */ -\"[[:alnum:].-]+\" { - /* Match a string. expected only ASCII characters, '-' and '.'. The validation is done in yacc */ + /* Recognize quoted strings -- we do not support escaped \" in the string currently. */ +\"[^\"]+\" { + /* Match a quoted string. Let's be very permissive. */ yylval->string = strdup(yytext+1); if (!yylval->string) { fd_log_debug("Unable to copy the string '%s': %s\n", yytext, strerror(errno));