--- lily/parser.yy.orig	2005-07-18 01:44:38.000000000 +0900
+++ lily/parser.yy	2005-07-18 02:23:09.000000000 +0900
@@ -626,8 +626,16 @@
 
 lilypond_header_body:
 	{
-		$$ = ly_make_anonymous_module (be_safe_global);
-		THIS->lexer_->add_scope ($$);
+		SCM id = THIS->lexer_->lookup_identifier("$globalheader");
+		if ( ly_is_module(id) ){
+			// if the header exists, then comes here.
+			THIS->lexer_->add_scope(id);
+			$$ = id;
+		}else{	
+			/* org code */
+			$$ = ly_make_anonymous_module (be_safe_global);
+			THIS->lexer_->add_scope ($$);
+		}
 	}
 	| lilypond_header_body assignment  {
 		
