Commit Graph

79 Commits (f66e8c91eaa49c65cfacbca05ffb9c94f73a7380)

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 94aabf9844 closes issue #11037 -- unable to specify app:spec in hint arguments
18 years ago
Steve Murphy b7f66e48e8 closes issue #10777 -- by returning a null for the parse tree when there's really nothing there, and making sure we don't try to do checking on a null tree.
18 years ago
Russell Bryant d6b8fb4dc0 gcc 4.2 has a new set of warnings dealing with cosnt pointers. This set of
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 dc63d79143 this fixes bug 9883, wherein macros were not allowing the includes construct. fixed and tested, looks OK. Now includes can serve as an adjunct to catch.
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 4d6a91eef0 removed <err.h> as in trunk from the ael stuff. Also, threw in a minor fix to frame.c to avoid build-killing compiler warnings.
19 years ago
Steve Murphy c37666252d These changes fix the problems reported in bug 8090
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.
19 years ago
Steve Murphy 14c12fed9b The contents of branch teams/murf/bug_7598 are being folded in here.
19 years ago
Steve Murphy db0b142b06 committing a fix for colons in goto arguments and suppressing operator messages in globals assignments.
20 years ago
Russell Bryant 73ae55698f merge changes from team/murf/AEL-trunk-fixesonly
20 years ago
Kevin P. Fleming 472c1ca282 simplify autoconfig include mechanism (make tholo happy he can use lint again :-)
20 years ago
Luigi Rizzo b569ebd593 more simplifications
20 years ago
Luigi Rizzo 5f612f9ae6 consistent rule for goto...
20 years ago
Luigi Rizzo e5b0c721e5 remove another useless nonterminal
20 years ago
Luigi Rizzo 34d67f7d09 remove a useless nonterminal
20 years ago
Luigi Rizzo 49227c7ba1 more simplifications
20 years ago
Luigi Rizzo 7695df3896 remove more shift-reduce conflicts
20 years ago
Luigi Rizzo 820ef22951 remove a redundant rule
20 years ago
Luigi Rizzo 673607f87a reduce shift/reduce warnings
20 years ago
Luigi Rizzo 9ebc190fdc simplify case_statements
20 years ago
Luigi Rizzo e2e92e49a6 switch statement in one place
20 years ago
Luigi Rizzo 7cc4511fa2 common syntax for context name
20 years ago
Luigi Rizzo 34dcc89e24 another instance of context name
20 years ago
Luigi Rizzo 7a625b894d fix a bug previously introduced in the handling of timespec.
20 years ago
Luigi Rizzo 0cf25becb9 simplify case statements
20 years ago
Luigi Rizzo 05d2b78132 one more instance of assignment
20 years ago
Luigi Rizzo 0e8e343e1f global_statement is really an assignment statement
20 years ago
Luigi Rizzo b222d1247f expressions used in if, while, switch are all of the same kind
20 years ago
Luigi Rizzo 99dec41a4c macro statements can be empty
20 years ago
Luigi Rizzo 65b8f8365e empty arglists are valid
20 years ago
Luigi Rizzo 3173305448 rename the rule for context names properly
20 years ago
Luigi Rizzo 9eaa57bebc simplify handling of 'include' lists
20 years ago
Luigi Rizzo 827abbf46e ... and use a single rule for timespec
20 years ago
Luigi Rizzo 7b10b81a58 use a single rule to parse timeranges hh:mm-hh:mm
20 years ago
Luigi Rizzo 5c940c74a6 if/ifTime/random statements are all the same thing
20 years ago
Luigi Rizzo 16f94523ad includedname is just a regular word_or_default name,
20 years ago
Luigi Rizzo df3f8aa2b9 remove useless 'extern' declaration
20 years ago
Luigi Rizzo 5cbf333fee remove some unneeded local variables.
20 years ago
Luigi Rizzo f262d06975 more usage of nword(). I think the references to source
20 years ago
Luigi Rizzo d8e1ad052a more simplifications involving linku1
20 years ago
Luigi Rizzo 182a536722 correct linku1() to handle the case tail = NULL correctly.
20 years ago
Russell Bryant 34e0ae0e6a The build of aelparse was still broken in some cases, so instead of having to
20 years ago
Luigi Rizzo 2c2f7e817b fix dereferencing freed memory
20 years ago
Luigi Rizzo 595955ea98 switch a couple of operands.
20 years ago
Luigi Rizzo 85480376f7 more nword() usages, and mark some dubious places.
20 years ago
Luigi Rizzo f239ec2080 introduce a new frontend to npval for the very common case
20 years ago
Luigi Rizzo 5e746bf38f another client for switchlist_block
20 years ago