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

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 8 14:38:27 CDT 2008


The following issue has been ASSIGNED. 
====================================================================== 
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:                     assigned
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-09-08 14:38 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 14:38 murf           Status                   new => assigned     
2008-09-08 14:38 murf           Assigned To               => murf            
======================================================================




More information about the asterisk-bugs mailing list