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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Aug 18 18:33:53 CDT 2008


The following issue has been SUBMITTED. 
====================================================================== 
http://bugs.digium.com/view.php?id=13339 
====================================================================== 
Reported By:                dimas
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   13339
Category:                   PBX/pbx_ael
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     new
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:              
====================================================================== 
Date Submitted:             2008-08-18 18:33 CDT
Last Modified:              2008-08-18 18:33 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-08-18 18:33 dimas          Asterisk Version          => 1.6.0-beta9     
2008-08-18 18:33 dimas          SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list