diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2010-07-19 19:26:16 +0200 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2013-10-29 16:30:52 +0100 |
commit | c507d2f4b685874573fe0bb85a1a3a7d4d32dbd0 (patch) | |
tree | cd1fb27ebc2d2fc3e9f4cc95e786e2bbe8c1ae2e /bcc/parse.h | |
parent | a971aeabb4caf06339d9c53265b034d3cd9349bd (diff) | |
download | dev86-c507d2f4b685874573fe0bb85a1a3a7d4d32dbd0.tar.gz |
Add -7 option to compiler to enable ancient construct
Following commits add various funcitonality that is likely to be
unwanted for the most, but is vital to compile really old C code, such
as Seventh Edition UNIX code.
Diffstat (limited to 'bcc/parse.h')
-rw-r--r-- | bcc/parse.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bcc/parse.h b/bcc/parse.h index ab67f6c..429ca2a 100644 --- a/bcc/parse.h +++ b/bcc/parse.h @@ -17,3 +17,6 @@ EXTERN struct nodestruct *etptr; /* ptr to next entry in expression tree */ EXTERN struct symstruct *gvarsymptr; /* gsymptr for last identifier declared */ EXTERN scopelev_t level; /* scope level */ /* depends on zero init */ +#ifndef VERY_SMALL_MEMORY +EXTERN bool_t ancient; /* undersand ancient K&R */ +#endif |