abc2svg
Diff
Not logged in

Differences From Artifact [5cecec5227]:

To Artifact [a7da03af50]:


305
306
307
308
309
310
311

312

313
314

315
316
317
318
319
320
321
305
306
307
308
309
310
311
312

313


314
315
316
317
318
319
320
321







+
-
+
-
-
+







				s.next.prev = s
			p_voice.sym.next = s
		}
	}

	for (v = 0; v < voice_tb.length; v++) {
		p_voice = voice_tb[v]
		if (!sys_chg) {			// if not %%score
		delete p_voice.eoln
		    delete p_voice.eoln
		if (!sys_chg			// if not %%score
		 && p_voice.sls.length) {	// and no end of slur
		    if (p_voice.sls.length) {	// and no end of slur
			while (1) {
			    var	sl = p_voice.sls.shift()

				if (!sl)
					break
				s = sl.note.s
				for (s2 = s.next; s2; s2 = s2.next) {
329
330
331
332
333
334
335

336
337
338
339
340
341
342
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343







+







						ty: sl.ty,
						note: {s: s2}
					})
				} else {
					syntax(1, "Lack of ending slur(s)")
				}
			}
		    } // not %%score
		}
		for (s = p_voice.sym; s; s = s.next) {
			if (s.time >= staves_found)
				break
		}
		for ( ; s; s = s.next) {
			switch (s.type) {
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1368
1369
1370
1371
1372
1373
1374



1375
1376
1377
1378
1379
1380
1381







-
-
-







			defs_add(text.slice(i + 6, j))
		}
		break
	case "text":
		action = get_textopt(opt);
		if (!action)
			action = cfmt.textoption
		if (text.indexOf('\\') >= 0)	// convert the escape sequences
			text = cnv_escape(text)

		if (parse.state >= 2) {
			s = new_block(type);
			s.text = text
			s.opt = action
			break
		}
		write_text(text, action)