mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user