From 29654e2ef80f3778f5c8a413743adb5c7432dc0a Mon Sep 17 00:00:00 2001 From: hanwen Date: Wed, 17 Jul 2002 14:25:32 +0000 Subject: [PATCH] *** empty log message *** --- ChangeLog | 5 ++--- GNUmakefile.in | 2 +- VERSION | 2 +- lily/parser.yy | 12 ++++++++++-- 4 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1dfb760e50..7a7c2ec4db 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2002-07-17 Han-Wen + * GNUmakefile.in: distribute lexer-gcc-3.1.sh as well + * lily/music.cc (LY_DEFINE): change ly-set-mus-property to ly-set-mus-property! @@ -26,9 +28,6 @@ * lily/rest.cc (after_line_breaking): only translate the whole rest if we have more than 1 staff line - * lily/parser.yy (property_def): only allow #Scheme as \property - argument. - 2002-07-16 Han-Wen Nienhuys * VERSION: release 1.5.68 diff --git a/GNUmakefile.in b/GNUmakefile.in index 1db4a343c1..cfb2860170 100644 --- a/GNUmakefile.in +++ b/GNUmakefile.in @@ -19,7 +19,7 @@ SCRIPTS = configure aclocal.m4 autogen.sh README_FILES = ChangeLog CHANGES COPYING DEDICATION NEWS README.mandrake ROADMAP README_TXT_FILES = AUTHORS.txt README.txt INSTALL.txt FAQ.txt IN_FILES := $(wildcard *.in) -EXTRA_DIST_FILES = $(wildcard *.el) vimrc VERSION $(README_FILES) $(SCRIPTS) $(IN_FILES) emacsclient.patch lexer-gcc-3.0.patch darwin.patch .cvsignore +EXTRA_DIST_FILES = $(wildcard *.el) vimrc VERSION $(README_FILES) $(SCRIPTS) $(IN_FILES) emacsclient.patch lexer-gcc-3.0.patch darwin.patch .cvsignore lexer-gcc-3.1.sh NON_ESSENTIAL_DIST_FILES = $(README_TXT_FILES) INSTALLATION_DIR=$(datadir) INSTALLATION_FILES=$(configuration) VERSION diff --git a/VERSION b/VERSION index 2e13323a11..cb5cbc16b5 100644 --- a/VERSION +++ b/VERSION @@ -2,7 +2,7 @@ PACKAGE_NAME=LilyPond MAJOR_VERSION=1 MINOR_VERSION=5 PATCH_LEVEL=68 -MY_PATCH_LEVEL=tca2 +MY_PATCH_LEVEL=uu1 # Use the above to send patches: MY_PATCH_LEVEL is always empty for a # released version. diff --git a/lily/parser.yy b/lily/parser.yy index f0aa450c82..9a352e06e8 100644 --- a/lily/parser.yy +++ b/lily/parser.yy @@ -301,7 +301,7 @@ yylex (YYSTYPE *s, void * v_l) %type chord_note chord_inversion chord_bass %type duration_length fraction -%type embedded_scm +%type embedded_scm scalar %type Music Sequential_music Simultaneous_music %type relative_music re_rhythmed_music part_combined_music %type property_def translator_change @@ -1038,7 +1038,7 @@ translator_change: ; property_def: - PROPERTY STRING '.' STRING '=' embedded_scm { + PROPERTY STRING '.' STRING '=' scalar { Music *t = set_property_music (scm_string_to_symbol ($4), $6); Context_specced_music *csm = new Context_specced_music (SCM_EOL); @@ -1117,6 +1117,14 @@ property_def: } ; + +scalar: + string { $$ = $1; } + | bare_int { $$ = gh_int2scm ($1); } + | embedded_scm { $$ = $1; } + ; + + request_chord: pre_requests { THIS->push_spot (); -- 2.39.5