]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lexer.ll
* lily/modified-font-metric.cc (text_dimension): try
[lilypond.git] / lily / lexer.ll
index 29e4d6367d0cd70557aa4964c90b6a2889d2710d..d0a2dc50f01a2285bde30c5b603e14357f2cf00d 100644 (file)
@@ -186,6 +186,10 @@ HYPHEN             --
        yy_pop_state ();
        if (!is_valid_version (s))
                return INVALID;
+
+       SCM top_scope = scm_car (scm_last_pair (scopes_));
+       scm_module_define (top_scope, ly_symbol2scm ("version-seen?"), SCM_BOOL_T);
+
 }
 <renameinput>\"[^"]*\"     {
        String s (YYText () + 1);
@@ -878,7 +882,7 @@ avoid_silly_flex_induced_gcc_warnings ()
 SCM
 lookup_markup_command (String s)
 {
-       SCM proc = ly_scheme_function ("lookup-markup-command");
+       SCM proc = ly_lily_module_constant ("lookup-markup-command");
        return scm_call_1 (proc, scm_makfrom0str (s.to_str0 ()));
 }