summaryrefslogtreecommitdiff
path: root/main/ast_expr2.fl
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-11-28 20:33:21 +0000
committerSteve Murphy <murf@digium.com>2007-11-28 20:33:21 +0000
commit58e43103d8281c84b2b166f63159db832ed8cefc (patch)
tree56b75b4b8b94aeb6b98dc90d0ef1e79580d1beb9 /main/ast_expr2.fl
parentaa0f63d65f4fd0cff7ec431e070f9e269d4fee91 (diff)
Made expr2 parser 8-bit transparent
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@90039 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main/ast_expr2.fl')
-rw-r--r--main/ast_expr2.fl3
1 files changed, 2 insertions, 1 deletions
diff --git a/main/ast_expr2.fl b/main/ast_expr2.fl
index 8d422ad18..575313b66 100644
--- a/main/ast_expr2.fl
+++ b/main/ast_expr2.fl
@@ -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;