]> git.donarmstrong.com Git - lilypond.git/blobdiff - lily/lexer.l
release: 0.0.72pre
[lilypond.git] / lily / lexer.l
index 31bc1674d4ad37c80d57d8fa7e028ecb6f85c6fc..f942a19cc307be87b18cad50658192aebc9082ce 100644 (file)
@@ -336,6 +336,7 @@ My_lily_lexer::scan_escaped_word(String str)
                yylval.id = id;
                return id->token_code_i_;
        }
+       LexerError( "Unknown escaped string: `" + str + "'");   
        mtor << "(string)";
        String *sp = new String( str);
        yylval.string=sp;
@@ -354,15 +355,18 @@ My_lily_lexer::scan_bare_word(String str)
                    return NOTENAME_ID;
                }
        }
+#if 0
        if (YYSTATE != notes) {
                // ugr. Should do this in note mode?
-               Identifier * id = lookup_identifier(str);
+       //              Identifier * id = lookup_identifier(str);
                if (id) {
                        mtor << "(identifier)\n";
                        yylval.id = id;
                        return id->token_code_i_;
                }
        }
+#endif
+
        yylval.string=new String( str );
        return STRING;
 }