Google グループは Usenet の新規の投稿と購読のサポートを終了しました。過去のコンテンツは引き続き閲覧できます。
Dismiss

Flex Debugging

閲覧: 0 回
最初の未読メッセージにスキップ

Vishal Soni

未読、
2006/07/23 12:09:282006/07/23
To: perl6-i...@perl.org
Hi,

Can some one help me with Flex debugging?

Previously if I recall correctly the adding %option debug in imcc.l use
to spit out debug information to the console. This does not seem to work
now.

Am I doing something wrong?

-Vishal

Leopold Toetsch

未読、
2006/07/23 14:37:072006/07/23
To: perl6-i...@perl.org
Am Sonntag, 23. Juli 2006 18:09 schrieb Vishal Soni:
> Hi,
>
> Can some one help me with Flex debugging?
>
> Previously if I recall correctly the adding %option debug in imcc.l use
> to spit out debug information to the console. This does not seem to work
> now.

$ info flex
sayeth:

`-d, --debug, `%option debug''
makes the generated scanner run in "debug" mode. Whenever a
pattern is recognized and the global variable `yy_flex_debug' is
non-zero (which is the default), the scanner will write to
`stderr' a line of the form:

i.e. differently to previous versions, `yy_flex_debug' also needs turning on,
which could probably done along with turning on 'yydebug' with the -y
commandline switch. While above states that `yy_flex_debug' would be turned
on by default, a 'find ... grep' shows no indications for that.

*But* trying that [1], it seems that it's just not working.

> -Vishal

leo

[1] the patch w/o func proto

yy_debug.patch
新着メール 0 件