gnupic: some problem in source code--scan.l


Previous by date: 10 Jul 2012 05:27:16 -0000 Re:some problem in source code--scan.l, Joe Pfeiffer
Next by date: 10 Jul 2012 05:27:16 -0000 Re: some problem in source code--scan.l, Tamas Rudnai
Previous in thread: 10 Jul 2012 05:27:16 -0000 Re: some problem in source code--scan.l, Byron Jeff
Next in thread: 10 Jul 2012 05:27:16 -0000 Re: some problem in source code--scan.l, Tamas Rudnai

Subject: Re: some problem in source code--scan.l
From: feqin fan ####@####.####
Date: 10 Jul 2012 05:27:16 -0000
Message-Id: <CAOfAq_p_JJrCWFU0Jxs=cncfLC=eCTZ9N-O=S2EGxLjifpeu7A@mail.gmail.com>

Thanks two guys.

  Byron Jeff and Joe Pfeiffer

  You answers are just what i want.
  Forgive my poor English writing.

  finally, I found the reason, I read the scan.l from version 0.14.2, BUT
the gpasm.h is from older version or had been changed.
  My job is porting gputils to our own chip that has different instruction
set.

  I will be very glad if I can do something for the community.





2012/7/10 Joe Pfeiffer ####@####.####

> feqin fan writes:
>
> >BUT,state.src->last_char_is_nl = true, WHERE is the number
> >*last_char_is_nl* in struct state.src ?
>
> I'm not sure I understand the question -- do you mean where is it
> defined?  If so:
>
> state is a global variable of type struct gpasm_state, declared on line
> 35 of gpasm.c.  It's defined in gpasm.h.in, starting on line 80.
>
> state.src is a field in state, of type struct *source_context.
>
> state.src->last_char_is_nl is a field in *state.src.  It's defined in
> gpasm.h.in, on line  299.
>
> >--------------------------------------------
> >
> >Another problem, the pattern   ^{IDENT}#v\(   match what?
> >someone Please give me a example..
> >
> >Thank you, guys..
> >
> >:-)
> >
> >
> >
> >------------------------------------
> >
> >live long and prosper..
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ####@####.####
> For additional commands, e-mail: ####@####.####
>
>

Previous by date: 10 Jul 2012 05:27:16 -0000 Re:some problem in source code--scan.l, Joe Pfeiffer
Next by date: 10 Jul 2012 05:27:16 -0000 Re: some problem in source code--scan.l, Tamas Rudnai
Previous in thread: 10 Jul 2012 05:27:16 -0000 Re: some problem in source code--scan.l, Byron Jeff
Next in thread: 10 Jul 2012 05:27:16 -0000 Re: some problem in source code--scan.l, Tamas Rudnai


Powered by ezmlm-browse 0.20.