[asterisk-bugs] [Asterisk 0013339]: AEL parser should trim RHS of an assignment

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 8 15:28:22 CDT 2008


The following issue has been UPDATED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13339 
====================================================================== 
Reported By:                dimas
Assigned To:                murf
====================================================================== 
Project:                    Asterisk
Issue ID:                   13339
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.0-beta9 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Disclaimer on File?:        N/A 
Request Review:              
Resolution:                 no change required
Fixed in Version:           
====================================================================== 
Date Submitted:             2008-08-18 18:33 CDT
Last Modified:              2008-09-08 15:28 CDT
====================================================================== 
Summary:                    AEL parser should trim RHS of an assignment
Description: 
When AEL parser parses assignments like
  a = 123;
into
  Set(a=$[ 123]);
that is keeping the leading spaces after assignment operator.
IMHO the leading spaces should be removed:
  Set(a=$[123]);

If one needs to start value with a space, he/she could quote it like:
  a = " 123";

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2008-09-08 15:28 murf           Resolution               open => no change
required
======================================================================




More information about the asterisk-bugs mailing list