diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-06 22:49:18 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2006-07-06 22:49:18 +0000 |
commit | 038813616f01f97561cfb07ac0138eccd73e486f (patch) | |
tree | b3e271d6c8977746d980b1f845f04866c1d89d84 /pbx/ael/ael-test/ael-ntest9 | |
parent | c8019be99aff3b3041399d659861b95c18556bb1 (diff) |
OK, here is everything I changed to fix 7474:
1. ael/ael.flex -- the "fix" is here. In short, I modified the
pattern for the chars that break args, to exclude those chars that
would normally break args if they are preceded by a backslash. I did
this to 3 patterns where really, this kind of exclusion should be placed.
2. ael_lex.c is an updated output from lex.
3. the ael-test stuff -- instituted a regression test for this condition.
as ael_ntest9. The "n" in the name means that instead of just getting
the syntax/semantic errors and high-level output from aelparse, we
also want the compilation results to be in the comparison file.
(remove the -n option).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37255 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'pbx/ael/ael-test/ael-ntest9')
-rwxr-xr-x | pbx/ael/ael-test/ael-ntest9/extensions.ael | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pbx/ael/ael-test/ael-ntest9/extensions.ael b/pbx/ael/ael-test/ael-ntest9/extensions.ael new file mode 100755 index 000000000..b9762ed54 --- /dev/null +++ b/pbx/ael/ael-test/ael-ntest9/extensions.ael @@ -0,0 +1,12 @@ + +context workext { + ignorepat => 8; + ignorepat => 9; + 793 => { + Set(QUERYSTRING=SELECT\ foo\,\ bar\ FROM\ foobar); + Verbose(2|${QUERYSTRING}); + query="SELECT foo\, bar FROM foobar" ; + Verbose(2|${query}) ; + } +} + |