if(dquote) {
args.add(sb.toString());
Message m = new Message(runtime, "internal:createText");
m.setLine(l);
m.setPosition(cc);
IokeObject mm = runtime.createMessage(m);
if(!name.equals("internal:createText")) {
for(int i = 0; i<args.size(); i++) {
Object o = args.get(i);
if(o instanceof String) {
Message mx = new Message(runtime, "internal:createText", o);
mx.setLine(lines.get(i));
mx.setPosition(cols.get(i));
IokeObject mmx = runtime.createMessage(mx);
args.set(i, mmx);
}
}
Message.setName(mm, name);
}
Message.setArguments(mm, args);
top.add(mm);
return;
} else {
sb.append((char)rr);
}
break;
case ']':
read();
if(!dquote) {
args.add(sb.toString());
Message m = new Message(runtime, "internal:createText");
m.setLine(l);
m.setPosition(cc);
IokeObject mm = runtime.createMessage(m);
if(!name.equals("internal:createText")) {
for(int i = 0; i<args.size(); i++) {
Object o = args.get(i);
if(o instanceof String) {
Message mx = new Message(runtime, "internal:createText", o);
mx.setLine(lines.get(i));
mx.setPosition(cols.get(i));
IokeObject mmx = runtime.createMessage(mx);
args.set(i, mmx);
}
}
Message.setName(mm, name);
}