lilypond-auto
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Lilypond-auto] Issue 4483 in lilypond: parser.yy: reimplement MAKE_


From: lilypond
Subject: Re: [Lilypond-auto] Issue 4483 in lilypond: parser.yy: reimplement MAKE_SYNTAX using with_location
Date: Mon, 06 Jul 2015 17:07:02 +0000

Updates:
        Labels: -Patch-new Patch-needs_work

Comment #1 on issue 4483 by address@hidden: parser.yy: reimplement MAKE_SYNTAX using with_location
https://code.google.com/p/lilypond/issues/detail?id=4483

Fails make.

Too much for my terminal to paste but

--snip--

/home/jlowe/lilypond-git/lily/lexer.ll:792:1: note: in expansion of macro 'YY_DO_BEFORE_ACTION'
  return YYText ()[0];
 ^
/home/jlowe/lilypond-git/lily/parser.yy: In function 'scm_unused_struct* make_music_from_simple(Lily_parser*, Input, SCM)': /home/jlowe/lilypond-git/lily/parser.yy:198:17: error: 'with_location' was not declared in this scope
    ##__VA_ARGS__)
                 ^
/home/jlowe/lilypond-git/lily/parser.yy:202:2: note: in expansion of macro 'LOWLEVEL_MAKE_SYNTAX'
  LOWLEVEL_MAKE_SYNTAX (location, Lily::name, ##__VA_ARGS__)
  ^
/home/jlowe/lilypond-git/lily/parser.yy:3908:11: note: in expansion of macro 'MAKE_SYNTAX'
    return MAKE_SYNTAX (lyric_event, loc, simple,
           ^
/home/jlowe/lilypond-git/lily/parser.yy:198:17: error: 'with_location' was not declared in this scope
    ##__VA_ARGS__)
                 ^
/home/jlowe/lilypond-git/lily/parser.yy:202:2: note: in expansion of macro 'LOWLEVEL_MAKE_SYNTAX'
  LOWLEVEL_MAKE_SYNTAX (location, Lily::name, ##__VA_ARGS__)
  ^
/home/jlowe/lilypond-git/lily/parser.yy:3912:11: note: in expansion of macro 'MAKE_SYNTAX'
    return MAKE_SYNTAX
           ^
out/lexer.cc: In member function 'virtual int yyFlexLexer::LexerInput(char*, int)': out/lexer.cc:6474:23: warning: conversion to 'int' from 'std::streamsize {aka long int}' may alter its value [-Wconversion]
   return yyin->gcount();
                       ^
out/lexer.cc: In member function 'int yyFlexLexer::yy_get_next_buffer()':
out/lexer.cc:6544:59: warning: conversion to 'int' from 'yy_size_t {aka long unsigned int}' may alter its value [-Wconversion]
    YY_CURRENT_BUFFER_LVALUE->yy_buf_size - number_to_move - 1;
                                                           ^
out/lexer.cc:6557:35: warning: conversion to 'int' from 'yy_size_t {aka long unsigned int}' may alter its value [-Wconversion]
     int new_size = b->yy_buf_size * 2;
                                   ^
out/lexer.cc:6579:22: warning: conversion to 'int' from 'yy_size_t {aka long unsigned int}' may alter its value [-Wconversion]
       number_to_move - 1;
                      ^
out/lexer.cc: In member function 'void yyFlexLexer::yyunput(int, char*)':
out/lexer.cc:6702:17: warning: conversion to 'int' from 'yy_size_t {aka long unsigned int}' may alter its value [-Wconversion]
    (yy_n_chars) = YY_CURRENT_BUFFER_LVALUE->yy_buf_size;
                 ^
out/lexer.cc: In member function 'int yyFlexLexer::yyinput()':
out/lexer.cc:6741:30: warning: conversion to 'int' from 'long int' may alter its value [-Wconversion]
    int offset = (yy_c_buf_p) - (yytext_ptr);
                              ^
out/lexer.cc: In member function 'void yyFlexLexer::yyensure_buffer_stack()': out/lexer.cc:7098:40: warning: conversion to 'int' from 'size_t {aka long unsigned int}' may alter its value [-Wconversion]
   num_to_alloc = (yy_buffer_stack_max) + grow_size;
                                        ^
make[1]: *** [out/parser.o] Error 1
make[1]: *** Waiting for unfinished jobs....
make[1]: Leaving directory `/home/jlowe/lilypond-git/build/lily'
make: *** [all] Error 2

--snip--

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings



reply via email to

[Prev in Thread] Current Thread [Next in Thread]