To compile this under MSDOS, comment out

#include<sys/param.h>
extern char *realloc();

and then using Gnu FLEX and MS C:

flex lacheck.lex
mv lexyy.c lacheck.c
cl lacheck.c

Voila!
