aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/ael
AgeCommit message (Collapse)AuthorFilesLines
2006-05-02global_statement is really an assignment statementrizzo2-579/+563
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24339 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02expressions used in if, while, switch are all of the same kindrizzo2-617/+613
(it remains to see why 'random' gives 16 shift/reduce conflicts...) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24292 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02macro statements can be emptyrizzo2-560/+559
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24258 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02empty arglists are validrizzo2-612/+583
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24257 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02rename the rule for context names properlyrizzo2-28/+27
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24256 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02simplify handling of 'include' listsrizzo2-445/+441
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24255 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02... and use a single rule for timespecrizzo2-670/+669
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24254 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02use a single rule to parse timeranges hh:mm-hh:mmrizzo2-651/+569
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24252 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02if/ifTime/random statements are all the same thingrizzo2-656/+613
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24248 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02includedname is just a regular word_or_default name,rizzo2-484/+458
no need for a separate nonterminal git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24219 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02remove useless 'extern' declarationrizzo2-2/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24216 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02remove some unneeded local variables.rizzo2-165/+149
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24178 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02more usage of nword(). I think the references to sourcerizzo2-231/+187
line/columns are also correct now. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24175 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02more simplifications involving linku1rizzo2-220/+191
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24174 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02correct linku1() to handle the case tail = NULL correctly.rizzo2-192/+180
Now the function can be used to simplify other conditional blocks. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24173 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-02The build of aelparse was still broken in some cases, so instead of having to russell3-266/+264
keep figuring out workarounds for build issues on various platforms, just go ahead and remove what started all of this. Two instances of ast_calloc have been changed to calloc in pbx/ael/ael.y. ast_copy_string isn't actually needed here because the only place it is used is in ast_expr2f.c. However, the utils Makefile already builds its own ast_expr2f.o with -DSTANDALONE, which makes it use strncpy instead of ast_copy_string. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@24115 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01more simplificationsrizzo2-97/+71
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23807 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01always trim the trailing ';'rizzo2-11/+7
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23806 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01comment usage of contextsrizzo2-22/+62
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23805 f38db490-d61c-443f-a65b-d21fe96a405b
2006-05-01fix dereferencing freed memoryrizzo2-52/+54
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23795 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30switch a couple of operands.rizzo2-137/+140
This gives slightly different results from the previous code on syntax errors, but it actually makes fewer mistakes so i think it is an improvement. Additionally, it makes the code more uniform (the other call of reset_argcount occurs after LP and not before). git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23783 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30put back some simplifications, this time really testedrizzo2-38/+24
(ael_lex.c manually deleted, runtest passed) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23782 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30revert ael.flex to the last correct version.rizzo1-25/+34
For some reason the makefile did not regenerate the ael_lex.c file correctly so i was not testing the changes. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23781 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30another small set of simplificationsrizzo1-8/+14
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23780 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30simplify logic (runtest passed).rizzo1-30/+15
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23758 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30more nword() usages, and mark some dubious places.rizzo2-124/+93
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23669 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30introduce a new frontend to npval for the very common caserizzo3-384/+348
of creating an object for a tring value PV_WORD. Start using it. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23640 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30another client for switchlist_blockrizzo2-261/+253
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23615 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30more merge of common blocks through intermediate rules.rizzo3-781/+809
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23614 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30make destroy_pval able to handle a NULL valuerizzo2-633/+630
(the warning should be removed); define a 'elements_block' rule to simplify some other rules removing duplicated code - runtests seems happy with this. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23613 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30remove some commented-out coderizzo2-198/+149
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23612 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30simplify updating the token position markersrizzo2-304/+298
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23611 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30more commentsrizzo2-24/+22
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23557 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30comment some coderizzo2-6/+26
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23550 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30more simplifications in the bison sources,rizzo2-861/+851
more annotation with XXX of dubious code. (The code still passes tests) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23534 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28make the 'runtest' filter less strict on line numbers.rizzo1-3/+9
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23154 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28simplify handling of line numbersrizzo2-117/+83
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23153 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28fix last known bug in computing columb numbers in error messagesrizzo2-69/+77
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23152 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28fix a bug in computing line numbersrizzo2-8/+8
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23151 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28- fix miscalculation in column numbers when multiple tabsrizzo5-10/+20
or empty lines are involved; - change linku1() to return the head of the list (unused at the moment); - ignore the source line number in runtests as they change with the source and cause mismatches in the comparison with the reference output. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23130 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28last batch of npval -> npval2 changesrizzo2-234/+249
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23109 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28more npval -> npval2 changesrizzo2-24/+24
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23088 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28more npval -> npval2 conversionsrizzo2-43/+75
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23066 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27fix destructor for pval objects (thanks to Steve Murphy);rizzo4-617/+488
rearrange initial part of ael.flex for flexibility. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23011 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27always call the destructorrizzo2-244/+278
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22989 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27document variable and options used.rizzo2-66/+130
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27document options, move objects of the same type close torizzo2-289/+544
each other so it is evident what they are. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22958 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27slightly restructure a block to reduce nesting,rizzo2-102/+102
mark some missing error checks git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22957 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27imore npval -> npval2 conversionsrizzo2-49/+77
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22955 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27more npval2 replacement, mark XXX dubious argumentsrizzo2-126/+127
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22930 f38db490-d61c-443f-a65b-d21fe96a405b