int high_i = hex2nibble (*byte++);
int low_i = hex2nibble (*byte++);
if (high_i < 0 || low_i < 0)
- return 1; // illegal char
+ return 1; // invalid char
bin_string_r += to_string ((char) (high_i << 4 | low_i), 1);
i += 2;
}
void check_and_fix_all_prefixes (vector<Grob_info> primitives)
{
- /* Check for illegal head modifier combinations */
+ /* Check for invalid head modifier combinations */
for (vsize i = 0; i < primitives.size (); i++)
{
Grob *primitive = primitives[i].grob ();
* for example:
* Ockeghem: Missa Ecce ancilla domini, bassus part, end of Christe.
*
- * TODO: enhance robustness: in case of an illegal ligature (e.g. the
+ * TODO: enhance robustness: in case of an invalid ligature (e.g. the
* input specifies a ligature that contains a minima), automatically
* break the ligature into smaller, valid pieces. Such a piece may be
* a single note.
(mult (/ (* times (ash 1 dots)) (1- (ash 2 dots))))
(shift (- (ly:intlog2 (floor mult)))))
(if (not (integer? mult))
- (ly:warning (_ "illegal tremolo repeat count: ~a") times))
+ (ly:warning (_ "invalid tremolo repeat count: ~a") times))
(if (memq 'sequential-music (ly:music-property main 'types))
;; \repeat "tremolo" { c4 d4 }
(let ((children (length (ly:music-property main 'elements))))