lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Difficulty to pass a Scheme expression on the command line


From: Urs Liska
Subject: Difficulty to pass a Scheme expression on the command line
Date: Mon, 15 Feb 2016 23:21:40 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1

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: 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: #<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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]