#include "string-convert.hh"
#include "version.hh"
#include "warn.hh"
+#include "lily-imports.hh"
/*
* Global options that can be overridden through command line.
//string lilypond_datadir; // moved to global-data.cc
/* The jail specification: USER, GROUP, JAIL, DIR. */
-string jail_spec;
+std::string jail_spec;
/* The option parser */
static Getopt_long *option_parser = 0;
#endif /* defined(__x86__) || defined(__i386__) */
+using std::map;
+using std::string;
+using std::vector;
+
static void
env_var_info (FILE *out, char const *key)
/*
// " \"" + lilypond_datadir + "/scm/out\")";
//scm_c_eval_string (scm_pct_set_fallback.c_str() );
scm_primitive_eval
- (scm_list_3 (scm_from_locale_symbol ("set!"),
- scm_from_locale_symbol ("%compile-fallback-path"),
+ (scm_list_3 (scm_from_latin1_symbol ("set!"),
+ scm_from_latin1_symbol ("%compile-fallback-path"),
scm_from_locale_string (ly_scm_go_dir.c_str())));
#endif
// SCM result = scm_call_1 (
// scm_variable_ref (call_with_error_handling),
// scm_call_1 (ly_lily_module_constant ("lilypond-main"), files));
- SCM result = scm_call_1 (ly_lily_module_constant ("lilypond-main"), files);
- (void) result;
+
+ Lily::lilypond_main (files);
/* Unreachable. */
exit (0);