]> git.donarmstrong.com Git - lilypond.git/blobdiff - scripts/lilypond-book.py
pass args from smart-autogen.sh into autogen.sh
[lilypond.git] / scripts / lilypond-book.py
index 459900124169d8109192904393938e8c4b0f1c13..5b9c0d738f9b9669ee43eba424060a7b9a3cb423 100644 (file)
@@ -248,9 +248,6 @@ snippet_res = {
           (?P<match>
           <(?P<inline>(inline)?)mediaobject>\s*<imageobject.*?>\s*<imagedata\s+fileref="(?P<filename>.*?\.ly)"\s*(role="(?P<options>.*?)")?\s*(/>|>\s*</imagedata>)\s*</imageobject>\s*</(inline)?mediaobject>)''',
 
-        'lilypond_version':
-         no_match,
-
         'multiline_comment':
          r'''(?smx)
           (?P<match>
@@ -266,6 +263,7 @@ snippet_res = {
 
         'verbatim':
        no_match,
+       
     }, 
     ##
     HTML: {
@@ -298,9 +296,6 @@ snippet_res = {
           \s*(?P<filename>.*?)\s*
           </lilypondfile>)''',
 
-        'lilypond_version':
-         r'''(?mx)(?P<match><lilypond-version>)''',
-
         'multiline_comment':
          r'''(?smx)
           (?P<match>
@@ -367,9 +362,6 @@ snippet_res = {
            (?P<filename>\S+?)
           })''',
 
-        'lilypond_version':
-         r'''(?P<match>\\lilypond_version)''',
-
         'multiline_comment':
          no_match,
 
@@ -438,9 +430,6 @@ snippet_res = {
            (?P<filename>\S+)
           })''',
 
-        'lilypond_version':
-         r'''(?mx)(?P<match>@lilypondversion)''',
-
         'multiline_comment':
          r'''(?smx)
           ^(?P<match>
@@ -1286,14 +1275,9 @@ class Lilypond_file_snippet (Lilypond_snippet):
         return ('\\sourcefilename \"%s\"\n\\sourcefileline 0\n%s'
                 % (name, contents))
 
-class Version_snippet (Snippet):
-    def replacement_text (self):
-        return (program_version)
-
 snippet_type_to_class = {
     'lilypond_file': Lilypond_file_snippet,
     'lilypond_block': Lilypond_snippet,
-    'lilypond_version': Version_snippet,
     'lilypond': Lilypond_snippet,
     'include': Include_snippet,
 }
@@ -1704,7 +1688,6 @@ def do_file (input_filename):
     #                'verb',
             'singleline_comment',
             'lilypond_file',
-            'lilypond_version',
             'include',
             'lilypond',
         )