Module: sems
Branch: sayer/dsm_lang
Commit: 721f6ecf7323e54cf05ede64414733774443c0fc
URL:    
http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=721f6ecf7323e54cf05ede64414733774443c0fc

Author: Mathew Williams <[email protected]>
Committer: Stefan Sayer <[email protected]>
Date:   Wed Jan 26 02:10:30 2011 +0000

added [] to chars not allowed in var names

---

 apps/dsm/DSMCoreModule.cpp |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/apps/dsm/DSMCoreModule.cpp b/apps/dsm/DSMCoreModule.cpp
index 189045b..107ec85 100644
--- a/apps/dsm/DSMCoreModule.cpp
+++ b/apps/dsm/DSMCoreModule.cpp
@@ -545,9 +545,9 @@ string replaceParams(const string& q, AmSession* sess, 
DSMSession* sc_sess,
         res[rstart+1] == '"' ||
         res[rstart+1] == '\''
         ))
-      rend = res.find_first_of(" ,()$#@\t;:'\"", rstart+2);
+      rend = res.find_first_of(" ,()[]$#@\t;:'\"", rstart+2);
     else 
-      rend = res.find_first_of(" ,()$#@\t;:'\"", rstart+1);
+      rend = res.find_first_of(" ,()[]$#@\t;:'\"", rstart+1);
     if (rend==string::npos)
       rend = res.length();
     string keyname = res.substr(rstart+1, rend-rstart-1);

_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to