When I have a file.ly containing

%%%%%%%%%%%%%%% \version "2.19.37" #(use-modules (guile-user))

#(display whatever)


%%%%%%%%%%%%%%%

and run this with
    lilypond -e '(define-public whatever 4)' file.ly

I get the error

/home/uliska/blob/software/lilypond/builds/current/out/share/lilypond/current/scm/lily.scm:912:3
<0>: In procedure scm_i_lreadparen in expression (eval-string
(ly:command-line-code)):
/home/uliska/blob/software/lilypond/builds/current/out/share/lilypond/current/scm/lily.scm:912:3
<1>: #<unknown port>:1:25: end of file
Exited with return code 1.

If I pass any other Scheme expression on the command line the error is
the same but with a different character index for the "unknown port".

Am I doing anything wrong here?

Urs
_______________________________________________
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to