Google 网上论坛不再支持新的 Usenet 帖子或订阅项。历史内容仍可供查看。

What does 'input in flex scanner failed' really mean?

已查看 3,283 次
跳至第一个未读帖子

Bob Rogers

未读,
2006年10月7日 11:00:252006/10/7
收件人 parrot-...@perl.org
I am stumped by the following problem:

rogers@rgrjr> cat scanner.pir
## WTF???
.sub main :main
load_bytecode "Data/Dumper"
.end
rogers@rgrjr> ./parrot scanner.pir
input in flex scanner failed
rogers@rgrjr>

This is with vanilla r14850. I can't seem to get it to accept
load_bytecode under any circumstances. Does anyone have any clues?
MTIA,

-- Bob Rogers
http://rgrjr.dyndns.org/

Leopold Toetsch

未读,
2006年10月7日 11:20:162006/10/7
收件人 perl6-i...@perl.org
Am Samstag, 7. Oktober 2006 17:00 schrieb Bob Rogers:
>         ## WTF???
>         .sub main :main
>                 load_bytecode "Data/Dumper"
>         .end

There's a test missing, if the file is a diretory obviously.

leo

Bob Rogers

未读,
2006年10月7日 11:33:022006/10/7
收件人 Leopold Toetsch、perl6-i...@perl.org
From: Leopold Toetsch <l...@toetsch.at>
Date: Sat, 7 Oct 2006 17:20:16 +0200

leo

Aha! It was not obvious to me; I was deeply confused because I thought
the IMCC scanner was complaining about scanner.pir! Thanks again,

-- Bob

Chromatic

未读,
2006年10月7日 17:38:342006/10/7
收件人 perl6-i...@perl.org、Leopold Toetsch

Something like this?

-- c

MANIFEST | 1 +
compilers/imcc/parser_util.c | 8 ++++++++
t/op/load_bytecode.t | 39 +++++++++++++++++++++++++++++++++++++++
3 files changed, 48 insertions(+)

load_bytecode_tests.patch

Bob Rogers

未读,
2006年10月7日 17:55:242006/10/7
收件人 chromatic、perl6-i...@perl.org、Leopold Toetsch
From: chromatic <chro...@wgz.org>
Date: Sat, 7 Oct 2006 14:38:34 -0700

On Saturday 07 October 2006 08:20, Leopold Toetsch wrote:

> There's a test missing, if the file is a diretory obviously.

Something like this?

-- c

Excellent; thanks.

-- Bob

0 个新帖子