Watt-32 tcp/ip  2.2 dev-rel.10
language.c File Reference

Go to the source code of this file.

Detailed Description

The generated lang.c must be included below (and not compiled alone). This is needed to work around different definitions of e.g. INT8_MAX. In Watcom's <stdint.h>:

#define INT_MAX 127

and in Flex generated lang.c:

#define INT8_MAX (127)

The Watcom preprossesor doesn't understand they're equal :-(

Besides, the following YY_defines makes the code a bit smaller.

Definition in file language.c.