URL: <http://savannah.gnu.org/bugs/?43378>
Summary: $(guile ...) must be coaxed to accept (or does not accept) valid guile code. Project: make Submitted by: ahmedtd Submitted on: Wed 08 Oct 2014 12:27:13 AM GMT Severity: 3 - Normal Item Group: Bug Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Component Version: None Operating System: Any Fixed Release: None Triage Status: None _______________________________________________________ Details: The $(guile) function does not accept all valid guile code. For example, the sharps here are unconditionally interpreted as comments: ----make code snip---- libelektros_CFLAGS := $(guile (augmk/pkg-config/cflags "eigen3" #:sedsystem #t)) ----make code snap---- Sharps are fairly important syntactic components of guile --- they are the syntax both for several literal types and for keyword arguments. The snippet illustrates both usages. Other characters cause problems as well. For example, adding to the load path: ----make code snip---- $(guile (append! %load-path (list "./"))) ----make code snap---- For this snippet, I get "***missing separator. Stop.". I have to explicitly show make that this is an assignment in order for it to be accepted: ----make code snip---- DUMMY:=$(guile (append! %load-path (list "./"))) ----make code snap---- Looking at the parse function, it seems like all function calls are handled as a variable assignment (possibly to nothing). However, the manual shows several non-assignment uses of the $(guile) function, so I assume that this is meant to be supported behavior. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?43378> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ Bug-make mailing list Bug-make@gnu.org https://lists.gnu.org/mailman/listinfo/bug-make