rizzo
79b955ea61
comment some code
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23550 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-30 09:06:28 +00:00
rizzo
4b4456cf10
simplify handling of line numbers
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23153 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 15:42:13 +00:00
rizzo
e00ea05cea
fix last known bug in computing columb numbers in error messages
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23152 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 15:33:05 +00:00
rizzo
859a7936e1
fix a bug in computing line numbers
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@23151 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-28 15:24:30 +00:00
rizzo
5a2411d0df
- fix miscalculation in column numbers when multiple tabs
...
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-28 14:17:03 +00:00
rizzo
64087d59b3
fix destructor for pval objects (thanks to Steve Murphy);
...
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-27 21:09:52 +00:00
rizzo
ad431d039d
document variable and options used.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22988 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 20:08:42 +00:00
rizzo
1fae650d42
slightly restructure a block to reduce nesting,
...
mark some missing error checks
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22957 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 19:29:14 +00:00
rizzo
f61c9a3779
remove some commented-out code
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22901 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 17:16:41 +00:00
rizzo
9558688d60
finish packing yylloc into macros
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22900 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 17:10:15 +00:00
rizzo
c57318b3f1
add some comments to the code
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22869 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 17:00:09 +00:00
rizzo
c5bf7f5572
more dup removal
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22844 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 11:43:34 +00:00
rizzo
a025f2e456
more duplicate removal
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22843 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 11:34:44 +00:00
rizzo
80c2929289
remove duplicated code
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22842 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 11:20:26 +00:00
rizzo
e06b5cef42
staticize c_prevword()
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22820 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 10:13:39 +00:00
rizzo
60df902cc1
move similar blocks close to each other to make similarities
...
more evident
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22727 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 01:35:52 +00:00
rizzo
e1712dc54e
normalize and simplify the code for keeping track of line and column number.
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22726 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 01:27:07 +00:00
rizzo
1808e784cb
define some flex constants for character sets.
...
partly fix indentation and normalize code layout.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22725 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 01:07:24 +00:00
rizzo
d87a3b0d91
uncomment some functions in the flex code that were actually
...
used in the bison code - detected by making aelparse compile
again.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22702 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-27 00:05:05 +00:00
rizzo
127c8f0535
use \t to indicate a tab, and fix indentation for
...
the whitespace-handling rules
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22680 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 23:36:05 +00:00
rizzo
4d578ce209
remove common blocks of code with a macro (waiting for a better
...
solution).
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22679 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 23:18:03 +00:00
rizzo
cbb21c8e36
staticize some variables
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22678 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 23:08:47 +00:00
rizzo
f2d3571c41
comment behaviour of pbcwhere in preparation for its use
...
in more places.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22656 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 22:56:18 +00:00
rizzo
3a16c3d072
include/asterisk/ael_structs.h:
...
- protect against multiple includes of ael_structs.h
- remove prototypes for unused or undeclared functions
pbx/ael/ael.y
- staticize functions as appropriate
- constify arguments
- remove useless extern
pbx/ael/ael.flex
- ifdef out unused functions
pbx/pbx_ael.c
- constify some variables and arguments
- ifdef out unused functions
- staticize functions as appropriate
update generated files accordingly
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22654 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 22:41:16 +00:00
rizzo
9f8d8e1a8c
whitespace-only change:
...
fix formatting and indentation of the flex file,
and regenerate the ael_lex.c
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22571 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-26 18:40:09 +00:00
rizzo
6f82474a89
wrong path in include file.
...
Maybe it compiled on some platform because of extra -I
statements in the Makefiles.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22414 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-25 17:08:41 +00:00
kpfleming
6baa8fbab8
Merge Steve Murphy's (murf) complete re-implementation of AEL, which is now no longer considered experimental :-)
...
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@22273 f38db490-d61c-443f-a65b-d21fe96a405b
2006-04-24 17:41:27 +00:00