[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Toward a reentrant/thread safe parser and lexer
From: |
Sander van Rijn |
Subject: |
Re: Toward a reentrant/thread safe parser and lexer |
Date: |
Sat, 2 Mar 2013 14:50:06 +0100 |
On 2 March 2013 05:50, marco atzeri <address@hidden> wrote:
Hi John,
changeset: 16167:22bb3aa9f025
user: John W. Eaton <address@hidden>
date: Fri Mar 01 07:18:18 2013 -0500
summary: make push parser interface partially work
breaks build on cygwin:
make[2]: Entering directory `/pub/hg/octave_build/libinterp'
/usr/bin/sed < ../../octave/libinterp/interp-core/mxarray.in.h \
-e "s|%NO_EDIT_WARNING%|DO NOT EDIT! Generated automatically from mxarray.in.h by Make.|" \
-e "s|%OCTAVE_IDX_TYPE%|int|" > interp-core/mxarray.h-t
mv interp-core/mxarray.h-t interp-core/mxarray.h
if test -n "perl"; then \
../../octave/libinterp/mk-errno-list --perl "perl" < ../../octave/libinterp/interp-core/oct-errno.in.cc > interp-core/oct-errno.cc-t; \
elif test -n "python"; then \
../../octave/libinterp/mk-errno-list --python "python" < ../../octave/libinterp/interp-core/oct-errno.in.cc > interp-core/oct-errno.cc-t; \
else \
/usr/bin/sed '/@SYSDEP_ERRNO_LIST@/D' ../../octave/libinterp/interp-core/oct-errno.in.cc > interp-core/oct-errno.cc-t; \
fi
mv interp-core/oct-errno.cc-t interp-core/oct-errno.cc
making interpfcn/defaults.h from ../../octave/libinterp/interpfcn/defaults.in.h
gawk -v emit_graphics_props=1 -f ../../octave/libinterp/genprops.awk ../../octave/libinterp/interpfcn/graphics.in.h > interpfcn/graphics-props.cc-t
mv interpfcn/graphics-props.cc-t interpfcn/graphics-props.cc
gawk -f ../../octave/libinterp/genprops.awk ../../octave/libinterp/interpfcn/graphics.in.h > interpfcn/graphics.h-t
mv interpfcn/graphics.h-t interpfcn/graphics.h
/bin/sh ../../octave/build-aux/ylwrap ../../octave/libinterp/parse-tree/lex.ll lex.octave_.c parse-tree/lex.cc -- flex -I -I
/bin/sh ../../octave/build-aux/ylwrap ../../octave/libinterp/parse-tree/oct-parse.yy y.tab.c parse-tree/oct-parse.cc y.tab.h parse-tree/oct-parse.h y.output parse-tree/oct-parse.output -- bison -y -dv
/pub/hg/octave_build/libinterp/../../octave/libinterp/parse-tree/oct-parse.yy:169.17: invalid character: `-'
/pub/hg/octave_build/libinterp/../../octave/libinterp/parse-tree/oct-parse.yy:169.18-21: syntax error, unexpected identifier
Makefile:8977: recipe for target `parse-tree/oct-parse.cc' failed
make[2]: *** [parse-tree/oct-parse.cc] Error 1
MArco
I had the same problem yesterday, was caused by Bison version 2.4. Problem was solved for me by manually updating to 2.7 (or any version later than 2.4)
Sander