truj / midica

A Music programming language. Translates source code into MIDI. Includes a player. Supports MIDI-Karaoke. Includes a MIDI analyzer.
https://www.midica.org/
Mozilla Public License 2.0
111 stars 13 forks source link

pattern call with compact syntax: missleading error message #78

Closed truj closed 1 year ago

truj commented 1 year ago

0: cmaj:upstroke(/1, /8)

Error message: Pattern call contains additional data: (/1, Pattern call: cmaj:upstroke(/1, (Forgotten whitespace?)

In this case this is missleading, as there is a whitespace too much - not a missing one.

Update the error message so that it fits to compact syntax as well to lowlevel syntax.