>
> On 03/04/2013 12:40 PM, John Goodyear wrote:
> >
> >  > On 03/04/2013 11:35 AM, John Goodyear wrote:
> >  > >
> >  > >  > I tried to say in an earlier email that the make after the
> > miniperl gets
> >  > >  > linked is likely to fail spectacularly.  Instead of continuing
> > the make
> >  > >  > at this point, use the already-linked miniperl and do the Hello
> > world
> >  > > test:
> >  > >  >
> >  > >  > ./miniperl -le 'print "Hello World"'
> >  > >  >
> >  > >
> >  > > This too, fails with ~643K lines of
> >  > >
> >  > >     Semicolon seems to be missing
> >  > >
> >  > > And then finally
> >  > >
> >  > >     Out of memory!
> >  > >
> >  >
> >  >
> >  > What happens if you add a semi-colon?
> >  >
> >  > ./miniperl -le 'print "Hello World";'
> >  >
> >
> > No change.
> >
>
> That's unfortunate. Take the attached file and replace the one on your
> system with it, and run make again, and see what happens.
> [attachment "l1_char_class_tab.h" deleted by John
Goodyear/Gaithersburg/IBM]

I addition to substituting the l1_char_class_tab.h that you provided, I put
a print statement into perly.c to display the yylex() return value

After that, I deleted miniperl and all of the object files and rebuilt
miniperl.

miniperl now terminates in a more reasonable manner...



/u/jgood/perlsrc/perl-3a3d7b8 >./miniperl -le 'print "Hello World"' >
output 2>&1
/u/jgood/perlsrc/perl-3a3d7b8 >cat output
syntax error at -e line 1, at EOF
Execution of -e aborted due to compilation errors.
JCG: yylex returns 301: 'ýè'
JCG: yylex returns 267: 'ðê'
JCG: yylex returns 94: ';'
JCG: yylex returns 0: ''


/u/jgood/perlsrc/perl-3a3d7b8 >./miniperl -le 'print "Hello World";' >
output 2>&1
/u/jgood/perlsrc/perl-3a3d7b8 >cat output
syntax error at -e line 1, near ""Hello World";"
Execution of -e aborted due to compilation errors.
JCG: yylex returns 301: 'ýè'
JCG: yylex returns 267: 'ðê'
JCG: yylex returns 94: ';'
JCG: yylex returns 94: ';'
JCG: yylex returns 0: ''


FYI:  Before replacing l1_char_class_tab.h,  this is the character that was
almost always output from my trace:

   JCG: yylex returns 264: 'ðñ'    ('ðñ' is represented as '\214\111' when
   the output is run through more)

Reply via email to