|
From: | Andrew Janke |
Subject: | [Octave-bug-tracker] [bug #54324] Build failure on macOS: oct-tex-parser.yy:53.9-16: syntax error, unexpected identifier |
Date: | Wed, 18 Jul 2018 15:34:23 -0400 (EDT) |
User-agent: | Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.99 Safari/537.36 |
Follow-up Comment #7, bug #54324 (project octave): Hmm. Now I'm getting different syntax errors in oct-tex-parser.yy. In file included from ../../octave/libinterp/corefcn/oct-tex-parser.yy:32: libinterp/corefcn/oct-tex-parser.h:36:22: warning: extra tokens at end of #ifndef directive [-Wextra-tokens] #ifndef OCTAVE_TEX_ DEBUG ^ // libinterp/corefcn/oct-tex-parser.h:47:6: error: token is not a valid binary operator in a preprocessor subexpression #if OCTAVE_TEX_ DEBUG ^~~~~~~~~~~ libinterp/corefcn/oct-tex-parser.h:39:31: note: expanded from macro 'OCTAVE_TEX_' # define OCTAVE_TEX_ DEBUG 1 ~~~~~ ^ libinterp/corefcn/oct-tex-parser.h:57:22: warning: extra tokens at end of #ifndef directive [-Wextra-tokens] #ifndef OCTAVE_TEX_ TOKENTYPE ^ // libinterp/corefcn/oct-tex-parser.h:100:28: error: token is not a valid binary operator in a preprocessor subexpression #if ! defined OCTAVE_TEX_ STYPE && ! defined OCTAVE_TEX_ STYPE_IS_DECLARED ~~~~~~~~~~~~~~~~~~~~~~ ^ libinterp/corefcn/oct-tex-parser.h:128:17: error: expected ';' after top level declarator int octave_tex_ parse (text_parser_tex& parser); ^ ; This is from the default branch, updated just now. (file #44583) _______________________________________________________ Additional Item Attachment: File name: bug54324-example03.tgz Size:245 KB _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?54324> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |