[prev in list] [next in list] [prev in thread] [next in thread]
List: koffice
Subject: Re: Kspread parse problems
From: Martin van Es <mrvanes () bigfoot ! com>
Date: 2002-12-13 21:39:23
[Download RAW message or body]
On Friday 13 December 2002 16:03, Martin van Es wrote:
Re-reading your initial post, "Kspread starts with a 'Syntax Error' in math.ks
and entering anything
that starts with an equal sign in a cell results in a ####Parse error",
it sounds like your formula parser (libkoscript, from koffice/lib/koscript)
is miscompiled - e.g. lex/yacc did something wrong there.
Suggestions:
* Try make clean ; make ; make install in that directory.
Ok here goes testing!
make clean ; make ; make install works fine (at least if you blink once in a
while, more on that later). After install Kspread is still disfunctional.
* Try "make parser" there, and then "make ; make install"
Hmm... no errors, but the output is very minimal:
minivanes:/usr/src/kde/koffice-1.2/lib/koscript# make parser
cd . && flex -B -8 -oscanner.cc scanner.ll ;\
bison -d -t -v -o yacc.cc yacc.yy
And that's all folks... shouldn't there be a little more output of bison?
* Test the koscript program that this directory creates....
Appart from a load of DCOP and kio watchdir info, the most relevant is here:
Exception 'UnknownName'
print
Line 5
Next:
What I see when watching closely at the make process in koscript:
(I tried to redirect the output to a file, and in the process accidentily
filtered out all warnings ;-)
minivanes:/usr/src/kde/koffice-1.2/lib/koscript# make >
~martin/make_koscript.txt
koscript_func.cc:44: warning: `bool ksfunc_mid(KSContext &)' defined but not
used
koscript_func.cc:73: warning: `bool ksfunc_time(KSContext &)' defined but not
used
koscript_func.cc:92: warning: `bool ksfunc_date(KSContext &)' defined but not
used
koscript_func.cc:115: warning: `bool ksfunc_length(KSContext &)' defined but
not used
koscript_func.cc:144: warning: `bool ksfunc_lower(KSContext &)' defined but
not used
koscript_func.cc:156: warning: `bool ksfunc_upper(KSContext &)' defined but
not used
koscript_func.cc:168: warning: `bool ksfunc_isEmpty(KSContext &)' defined but
not used
koscript_func.cc:200: warning: `bool ksfunc_toInt(KSContext &)' defined but
not used
koscript_func.cc:231: warning: `bool ksfunc_toFloat(KSContext &)' defined but
not used
koscript_func.cc:265: warning: `bool ksfunc_arg(KSContext &)' defined but not
used
koscript_func.cc:290: warning: `bool ksfunc_stringListSplit(KSContext &)'
defined but not used
koscript_func.cc:315: warning: `bool ksfunc_print(KSContext &)' defined but
not used
koscript_func.cc:333: warning: `bool ksfunc_println(KSContext &)' defined but
not used
/usr/share/bison/bison.simple:45: warning: `YYSTACK_USE_ALLOCA' is not defined
/usr/share/bison/bison.simple:75: warning: `YYLTYPE_IS_TRIVIAL' is not defined
/usr/share/bison/bison.simple:204: warning: `YYPURE' is not defined
/usr/share/bison/bison.simple:255: warning: `YYMAXDEPTH' is not defined
/usr/share/bison/bison.simple:358: warning: `YYLSP_NEEDED' is not defined
/usr/share/bison/bison.simple:372: warning: `YYPURE' is not defined
/usr/share/bison/bison.simple:381: warning: `YYPURE' is not defined
/usr/share/bison/bison.simple:411: warning: `YYLSP_NEEDED' is not defined
/usr/share/bison/bison.simple:418: warning: `YYLSP_NEEDED' is not defined
/usr/share/bison/bison.simple:430: warning: `YYLSP_NEEDED' is not defined
/usr/share/bison/bison.simple:452: warning: `YYLSP_NEEDED' is not defined
/usr/share/bison/bison.simple:534: warning: `YYLSP_NEEDED' is not defined
/usr/share/bison/bison.simple:641: warning: `YYLSP_NEEDED' is not defined
/usr/share/bison/bison.simple:681: warning: `YYLSP_NEEDED' is not defined
/usr/share/bison/bison.simple:709: warning: `YYLSP_NEEDED' is not defined
/usr/share/bison/bison.simple:725: warning: `YYLSP_NEEDED' is not defined
/usr/share/bison/bison.simple:854: warning: `YYLSP_NEEDED' is not defined
/usr/share/bison/bison.simple:898: warning: `YYLSP_NEEDED' is not defined
scanner.cc:2603: warning: `YY_ALWAYS_INTERACTIVE' is not defined
scanner.cc:2606: warning: `YY_NEVER_INTERACTIVE' is not defined
scanner.cc:2897: warning: `YY_MAIN' is not defined
scanner.cc:2786: warning: `int yy_top_state()' defined but not used
libtool: link: warning: `-version-info' is ignored for programs
So I suspect some bison problems although the ./configure script is happy.
I have bison package installed, but nog bison++. Could that be the culprit?
dselected bison++ 1.21 instead of ordinairy bison (1.35): no difference
Do I need a more 'daring' version of bison than debian thinks is good (read:
stable) for me?
Or are these warning harmless, as is often the case?
Martin
____________________________________
koffice mailing list
koffice@mail.kde.org
To unsubscribe please visit:
http://mail.kde.org/mailman/listinfo/koffice
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic