Commit Graph

23 Commits (40cd95fc27bca0e9e3bebeb71c10703978541440)

Author SHA1 Message Date
Steve Murphy 4c7393a6a4 closes issue #11086 where a user complains that references to following contexts report a problem; The problem was REALLy that he was referring to empty contexts, which were being ignored. Reporter stated that empty contexts should be OK. I checked it out against extensions.conf, and sure enough, empty contexts ARE ok. So, I removed the restriction from AEL. This, though, highlighted a problem with multiple contexts of the same name. This should be OK, also. So, I added the extend keyword to AEL, and it can preceed the 'context' keyword (mixed with 'abstract', if nec.). This will turn off the warnings in AEL if the same context name is used 2 or more times. Also, I now call ast_context_find_or_create for contexts now, instead of just ast_context_create; I did this because pbx_config does this. The 'extend' keyword thus becomes a statement of intent. AEL can now duplicate the behavior of pbx_config,
18 years ago
Steve Murphy ed75fa38e9 closes issue #10834 ; where a null input to a switch statement results in a hangup; since switch is implemented with extensions, and the default case is implemented with a '.', and the '.' matches 1 or more remaining characters, the case where 0 characters exist isn't matched, and the extension isn't matched, and the goto fails, and a hangup occurs. Now, when a default case is generated, it also generates a single fixed extension that will match a null input. That extension just does a goto to the default extension for that switch. I played with an alternate solution, where I just tack an extra char onto all the patterns and the goto, but not the default case's pattern. Then even a null input will still have at least one char in it. But it made me nervous, having that extra char in , even if that's a pretty secret and low-level issue.
18 years ago
Steve Murphy fce1741a01 This is a regression update that matches what I did in 84134 for AEL regressions.
18 years ago
Steve Murphy 765b1af228 backport of 80649, a fix to an unreported problem in the ael parser, that results in a crash on a 64bit machine
18 years ago
Steve Murphy 9020699e0a This patch fixes bug 10411. I added a new regression test, some regression test cleanups
18 years ago
Steve Murphy 9056b0fa09 updated the ael regressions to match what's in trunk
19 years ago
Steve Murphy fd54b47404 These mods fix bug 9623, where an '@' in the eswitch contents causes a syntax error. I also updated the regressions.
19 years ago
Steve Murphy b899145141 Updated the regression tests
19 years ago
Steve Murphy a619d5c3e0 Eager people beat me to fixing the messed if, but we all forgot to update the regressions. Until now.
19 years ago
Steve Murphy dc04209898 Bug 8128 fixed in this release via these changes
19 years ago
Steve Murphy c37666252d These changes fix the problems reported in bug 8090
19 years ago
Steve Murphy 6557d250c8 This commit is a basic AEL enhancement: c-style comments
19 years ago
Steve Murphy 51132bbdbf Changes to fix all problems reported in 7804 are included here.
19 years ago
Steve Murphy 834c7265de This commit merges the contents of 7721, as it applied to the trunk version. Added the item that would previously trigger a false error to test1.
20 years ago
Steve Murphy 1d2b76a0f8 added a -q for quiet, option to aelparse
20 years ago
Steve Murphy 980a79a24d This bug adds enhancement as per bug 7606, the -w
20 years ago
Steve Murphy 14c12fed9b The contents of branch teams/murf/bug_7598 are being folded in here.
20 years ago
Steve Murphy f67f6b2261 This branch will resolve the bug 7635.
20 years ago
Steve Murphy 04ed725e73 OK, here is everything I changed to fix 7474:
20 years ago
Russell Bryant 73ae55698f merge changes from team/murf/AEL-trunk-fixesonly
20 years ago
Luigi Rizzo c7a892d5f9 make the 'runtest' filter less strict on line numbers.
20 years ago
Luigi Rizzo 799126216e - fix miscalculation in column numbers when multiple tabs
20 years ago
Kevin P. Fleming 5f58cc8770 Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)
20 years ago