9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
* [9fans] lex of plan9port on FreeBSD
@ 2019-01-30 12:17 Roderick
  2019-01-30 17:48 ` Sean Hinchee
  2019-01-31  1:02 ` Wagner Riffel
  0 siblings, 2 replies; 3+ messages in thread
From: Roderick @ 2019-01-30 12:17 UTC (permalink / raw)
  To: 9fans


Hallo!

I have a lex file that translates to C and compiles with plan9port's lex
and FreeBSD flex, but when running, I get core dumping with the one
from lex.

Do someone has the same experience? Any hint?

Thanks
Rodrigo



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] lex of plan9port on FreeBSD
  2019-01-30 12:17 [9fans] lex of plan9port on FreeBSD Roderick
@ 2019-01-30 17:48 ` Sean Hinchee
  2019-01-31  1:02 ` Wagner Riffel
  1 sibling, 0 replies; 3+ messages in thread
From: Sean Hinchee @ 2019-01-30 17:48 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs, Roderick

Could you attach the file?

Sean

On 1/30/19 6:17 AM, Roderick wrote:
>
> Hallo!
>
> I have a lex file that translates to C and compiles with plan9port's lex
> and FreeBSD flex, but when running, I get core dumping with the one
> from lex.
>
> Do someone has the same experience? Any hint?
>
> Thanks
> Rodrigo
>



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [9fans] lex of plan9port on FreeBSD
  2019-01-30 12:17 [9fans] lex of plan9port on FreeBSD Roderick
  2019-01-30 17:48 ` Sean Hinchee
@ 2019-01-31  1:02 ` Wagner Riffel
  1 sibling, 0 replies; 3+ messages in thread
From: Wagner Riffel @ 2019-01-31  1:02 UTC (permalink / raw)
  To: Fans of the OS Plan 9 from Bell Labs

[-- Attachment #1: Type: text/plain, Size: 187 bytes --]

i recall two common fault i had with lex, one is when there is no new line
at end of file, second one is when a new rule beginning/terminator (%%)
does not start on beginning of line.

[-- Attachment #2: Type: text/html, Size: 224 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-01-31  1:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-01-30 12:17 [9fans] lex of plan9port on FreeBSD Roderick
2019-01-30 17:48 ` Sean Hinchee
2019-01-31  1:02 ` Wagner Riffel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).