summaryrefslogtreecommitdiff
path: root/pbx/ael
AgeCommit message (Collapse)Author
2006-05-02The build of aelparse was still broken in some cases, so instead of having to Russell Bryant
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: https://origsvn.digium.com/svn/asterisk/trunk@24115 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01more simplificationsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23807 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01always trim the trailing ';'Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23806 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01comment usage of contextsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23805 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-05-01fix dereferencing freed memoryLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23795 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30switch a couple of operands.Luigi Rizzo
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: https://origsvn.digium.com/svn/asterisk/trunk@23783 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30put back some simplifications, this time really testedLuigi Rizzo
(ael_lex.c manually deleted, runtest passed) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30revert ael.flex to the last correct version.Luigi Rizzo
For some reason the makefile did not regenerate the ael_lex.c file correctly so i was not testing the changes. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23781 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30another small set of simplificationsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23780 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30simplify logic (runtest passed).Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23758 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30more nword() usages, and mark some dubious places.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23669 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30introduce a new frontend to npval for the very common caseLuigi Rizzo
of creating an object for a tring value PV_WORD. Start using it. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30another client for switchlist_blockLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23615 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30more merge of common blocks through intermediate rules.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30make destroy_pval able to handle a NULL valueLuigi Rizzo
(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: https://origsvn.digium.com/svn/asterisk/trunk@23613 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30remove some commented-out codeLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23612 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30simplify updating the token position markersLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23611 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30more commentsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23557 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30comment some codeLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-30more simplifications in the bison sources,Luigi Rizzo
more annotation with XXX of dubious code. (The code still passes tests) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28make the 'runtest' filter less strict on line numbers.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23154 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28simplify handling of line numbersLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23153 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28fix last known bug in computing columb numbers in error messagesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23152 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28fix a bug in computing line numbersLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23151 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28- fix miscalculation in column numbers when multiple tabsLuigi Rizzo
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: https://origsvn.digium.com/svn/asterisk/trunk@23130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28last batch of npval -> npval2 changesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23109 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28more npval -> npval2 changesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23088 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-28more npval -> npval2 conversionsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27fix destructor for pval objects (thanks to Steve Murphy);Luigi Rizzo
rearrange initial part of ael.flex for flexibility. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23011 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27always call the destructorLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22989 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27document variable and options used.Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22988 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27document options, move objects of the same type close toLuigi Rizzo
each other so it is evident what they are. git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22958 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27slightly restructure a block to reduce nesting,Luigi Rizzo
mark some missing error checks git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22957 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27imore npval -> npval2 conversionsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22955 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27more npval2 replacement, mark XXX dubious argumentsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27more npval -> npval2 replacement, and a fix for a likelyLuigi Rizzo
bug (marked XXX) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22929 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27introduce a simplified interface for npval and start using itLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27formatting fixesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22906 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27use ast_calloc for memory allocationsLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22903 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27fix a couple of bugs in arguments to npvalLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22902 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27remove some commented-out codeLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22901 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27finish packing yylloc into macrosLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22900 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27add some comments to the codeLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27more formatting cleanupLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22868 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27more dup removalLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22844 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27more duplicate removalLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22843 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27remove duplicated codeLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22842 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27staticize c_prevword()Luigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22820 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27more indentation fixesLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22798 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-04-27use asprintf instead of mallocLuigi Rizzo
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22797 65c4cc65-6c06-0410-ace0-fbb531ad65f3