Use scalar instead of embedded_scm for context mod overrides.
[lilypond/mpolesky.git] / lily / lily-version.cc
blob2163e0b472274df01a8a280837f20aae65bf159c
1 /*
2 lily-version.cc -- implement version strings
4 source file of the GNU LilyPond music typesetter
6 (c) 1999--2009 Jan Nieuwenhuizen <janneke@gnu.org>
7 */
9 #include "lily-version.hh"
11 #include "config.hh"
12 #include "version.hh"
14 string
15 version_string ()
17 string str = MAJOR_VERSION "." MINOR_VERSION "." PATCH_LEVEL;
18 string mpl ("." MY_PATCH_LEVEL);
19 if (mpl != ".")
20 str += mpl;
21 return str;
24 string
25 gnu_lilypond_string ()
27 string str = "GNU LilyPond";
28 return str;
31 string
32 gnu_lilypond_version_string ()
34 string str = gnu_lilypond_string () + " " + version_string ();
35 return str;