Parse.y

The yylex function in parse.y in some versions of the ruby source bears
the #line pp directive indicating it came from a lex input file called
lex.l, but I can’t find it anywhere, and lex output is so godawful that
I’ve made no progress in deconstructing it down to its original input.
Does anyone know where I could get a copy of the original lex input?
I’m working on a form of ruby for my own operating system.

Thanks,
-George

Hi,

···

In message “parse.y” on 03/06/24, George Gensure werkt@csh.rit.edu writes:

The yylex function in parse.y in some versions of the ruby source bears
the #line pp directive indicating it came from a lex input file called
lex.l, but I can’t find it anywhere, and lex output is so godawful that
I’ve made no progress in deconstructing it down to its original input.
Does anyone know where I could get a copy of the original lex input?
I’m working on a form of ruby for my own operating system.

IIRC, I have never released parse.y that contains #line directive.
Which version are you referencing?

						matz.