aboutsummaryrefslogtreecommitdiffstats
path: root/pbx/ael/ael.flex
diff options
context:
space:
mode:
authorrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-26 23:36:05 +0000
committerrizzo <rizzo@f38db490-d61c-443f-a65b-d21fe96a405b>2006-04-26 23:36:05 +0000
commit127c8f0535ef15c56d003c59f4a4cb8b21df100d (patch)
tree21222727785d512b6e052bb96a018befacad5d67 /pbx/ael/ael.flex
parent4d578ce209c406abad55bd641b7e94df162ef134 (diff)
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
Diffstat (limited to 'pbx/ael/ael.flex')
-rw-r--r--pbx/ael/ael.flex6
1 files changed, 3 insertions, 3 deletions
diff --git a/pbx/ael/ael.flex b/pbx/ael/ael.flex
index 6748135fd..fb86903a3 100644
--- a/pbx/ael/ael.flex
+++ b/pbx/ael/ael.flex
@@ -115,9 +115,9 @@ switches { STORE_POS; return KW_SWITCHES;}
eswitches { STORE_POS; return KW_ESWITCHES;}
includes { STORE_POS; return KW_INCLUDES;}
-\n {my_lineno++;my_col=0;}
-[ ]+ {/* nothing */ my_col+=yyleng;}
-[ ]+ {/* nothing */ int wid = 8-(my_col%8); my_col+=wid;}
+\n { my_lineno++; my_col = 0; }
+[ ]+ { my_col += yyleng; }
+[\t]+ { my_col += 8-(my_col%8); }
[-a-zA-Z0-9'"_/.\<\>\*\+!$#\[\]][-a-zA-Z0-9'"_/.!\*\+\<\>\{\}$#\[\]]* {
STORE_POS;