Made expr2 parser 8-bit transparent

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Steve Murphy
2007-11-28 20:33:21 +00:00
parent aa0f63d65f
commit 58e43103d8
2 changed files with 952 additions and 136 deletions

View File

@@ -115,6 +115,7 @@ static char *expr2_token_subst(const char *mess);
%option prefix="ast_yy"
%option batch
%option 8bit
%option outfile="ast_expr2f.c"
%option reentrant
%option bison-bridge
@@ -171,7 +172,7 @@ static char *expr2_token_subst(const char *mess);
return TOKEN;
}
[a-zA-Z0-9\.';\\_^$#@]+ {
([a-zA-Z0-9\.';\\_^$#@]|[\x80-\xff])+ {
SET_COLUMNS;
SET_STRING;
return TOKEN;