george@okstate.UUCP (10/25/84)
While using Lex(1), I have noticed the following: If you make a declaration of the form ------------------------------------------------------------------------ extern decls %% struct ident { char name[32]; . . . struct ident *link; } struct ident *header; rules actions %% Whatever else is needed. EOF ------------------------------------------------------------------------ Lex(1) will generate a C program with the folowing in it. ------------------------------------------------------------------------ exern decls struct ident { char name[32]; . . . struct ident *link; } +the rest of the standard Lex(1) program. ------------------------------------------------------------------------ What happens to the "struct ident *header;" portion of the declaration? If anybody has had the same problem please post your experiences. george [in real life Gregg Wonderly]@okstate