string: pass tests
[scilab.git] / scilab / modules / string / macros / sci2exp.sci
index 2ec0948..07eeb70 100644 (file)
@@ -409,8 +409,12 @@ function t = glist2exp(listType, l, lmax)
         if listType ~= "mlist"
             lk = l(k)
         else
-            lk = getfield(k,l)
+            try
+                lk = getfield(k,l)
+            catch
+            end
         end
+        
         if ~isdef("lk","local")
             t1 = ""
         else