From: mhoffman@lightlink.com (Mark M. Hoffman)
To: lm-sensors@vger.kernel.org
Subject: [lm-sensors] Flex Scanner Jammed Problem
Date: Thu, 03 Aug 2006 16:40:14 +0000 [thread overview]
Message-ID: <20060803164013.GA3096@jupiter.solarsys.private> (raw)
In-Reply-To: <1064332995.5787.33.camel@nils>
Hi Jean:
* Jean Delvare <khali at linux-fr.org> [2006-08-03 17:40:45 +0200]:
> > Try our latest default configuration file:
> > http://lm-sensors.org/svn/lm-sensors/trunk/etc/sensors.conf.eg
> >
> > If that works, then the problem is definitely the configuration file you
> > created. If not... Please tell us with which versions of flex and bison
> > you built lm_sensors.
> >
> > Note that you can use the "-c" option of "sensors" to select a
> > configuration file. This should help you test different files.
> >
> > -- I tried the newest config file, still flex scanner jammed, working on
> > getting a copy to send to you.
> >
> > -- using flex version 2.5.4
> > -- using bison version 1.875c
>
> I just tried this combination but was unable to reproduce the problem.
>
> Can you try removing the following line from lib/conf-lex.l:
>
> %option nodefault
>
> As I understand it, it should cause libsensors to output anything it
> doesn't understand in the config file to stdout. Maybe that will
> provide some hint. Other than that, I don't know what to suggest.
I have been watching this thread closely, even though I haven't spoken
up until now.
Version 2.5.4 of flex is current[1] (same as mine), version 1.875c of bison
is ancient (I have 2.0). OTOH, I'm pretty sure that's irrelevant to this
problem because the "flex scanner jammed" message happens prior to the
parser (from bison) receiving the token from flex.
I.e. we both have the same version of flex; AFAICT that's all that matters.
As for the %option nodefault... I think there is some bad interaction
between that one and %option yylineno. Some time ago I played with
getting rid of %option yylineno (and keeping track of line numbers with
explicit rules) as a performance optimization. As soon as I turned off
the yylineno option, flex started complaining about the nodefault option
being specified even though the default rule was still in use. But
those two options should be unrelated... I haven't figured it out yet.
I'm not sure how helpful any of this is for the problem at hand... sorry.
Regards,
[1] Well, not really. Flex has been updated a lot since 2.5.4, but that
all happened outside of the GNU project and I don't think any distro ships
the newer non-GNU flex versions. If you look on ftp.gnu.org, they claim
the latest is 2.5.4.
--
Mark M. Hoffman
mhoffman at lightlink.com
next prev parent reply other threads:[~2006-08-03 16:40 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-19 6:24 flex scanner jammed problem Emperor
2005-05-19 6:24 ` Emperor
2005-05-19 6:24 ` Emperor
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Emperor
2005-05-19 6:24 ` Emperor
2005-05-19 6:24 ` Jean Delvare
2005-05-19 6:24 ` Jean Delvare
2006-08-02 14:48 ` [lm-sensors] Flex Scanner Jammed Problem Calabro, Anthony
2006-08-02 16:15 ` Jean Delvare
2006-08-02 16:38 ` Calabro, Anthony
2006-08-02 16:47 ` Calabro, Anthony
2006-08-02 17:35 ` Calabro, Anthony
2006-08-03 8:49 ` Jean Delvare
2006-08-03 13:56 ` Calabro, Anthony
2006-08-03 15:40 ` Jean Delvare
2006-08-03 16:28 ` Calabro, Anthony
2006-08-03 16:40 ` Mark M. Hoffman [this message]
2006-08-04 7:39 ` Jean Delvare
2006-08-09 14:14 ` Calabro, Anthony
2006-08-09 17:13 ` Jean Delvare
2006-08-09 17:26 ` Calabro, Anthony
2006-08-09 20:09 ` Calabro, Anthony
2006-08-10 8:35 ` Jean Delvare
2006-08-10 8:42 ` Jean Delvare
2006-08-10 13:15 ` Calabro, Anthony
2006-08-11 12:15 ` Jean Delvare
2006-08-22 17:38 ` Calabro, Anthony
2006-08-22 20:19 ` Calabro, Anthony
2006-08-23 7:21 ` Jean Delvare
2006-08-23 11:18 ` Mark M. Hoffman
2006-08-23 15:23 ` Jean Delvare
2006-08-23 15:28 ` Calabro, Anthony
2006-08-23 17:46 ` Calabro, Anthony
2006-08-23 21:04 ` Calabro, Anthony
2006-08-24 3:01 ` Mark M. Hoffman
2006-08-24 7:49 ` Jean Delvare
2006-08-24 14:52 ` Jean Delvare
2006-08-28 16:54 ` Calabro, Anthony
2006-08-28 18:42 ` Calabro, Anthony
2006-08-28 19:02 ` Jean Delvare
2006-08-28 19:17 ` Jean Delvare
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060803164013.GA3096@jupiter.solarsys.private \
--to=mhoffman@lightlink.com \
--cc=lm-sensors@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.