Article View: comp.lang.misc
Article #6962Thread-safe code from bison (yacc) and flex (lex)
From: Donald A. Thompson
Date: Sun, 31 Jan 1999 00:00
Date: Sun, 31 Jan 1999 00:00
11 lines
1010 bytes
1010 bytes
I am looking for versions of bison (or yacc) and flex (or lex) that produce thread-safe C code. Alternatively, I'd like pointers on methods to modify the C code produced by these programs to make the C code thread-safe. I think the problem is that some basic data structures (e.g., yytext) in the C code are global variables. Thank you. -Don Thompson
Technical Details
Message-ID:
<791orb$p3a$1@winter.news.rcn.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f891f,b3abb9a70fbfad7f,start X-Google-Attributes: gidf891f,public X-Google-Thread: 1025b4,b3abb9a70fbfad7f,start X-Google-Attributes: gid1025b4,public From: "Donald A. Thompson" <dont@pluto.njcc.com> Subject: Thread-safe code from bison (yacc) and flex (lex) Date: 1999/01/31 Message-ID: <791orb$p3a$1@winter.news.rcn.net> X-Deja-AN: 439013832 X-Trace: DN+SWYNzYTDiQUyq1BRJC/xCKMEsgQODFGS08u9ST0o= NNTP-Posting-Date: 31 Jan 1999 14:20:27 GMT Newsgroups: comp.lang.misc,gnu.misc.discuss X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 X-Complaints-To: abuse@rcn.com