Differences From Artifact [b307433f16]:
- File class.c — part of check-in [42d0691852] at 2021-03-07 21:44:21 on branch trunk — Implement (Help Misc1) for help text to be defined by the level strings (user: user, size: 56452) [annotate] [blame] [check-ins using]
To Artifact [2180751321]:
- File class.c — part of check-in [136167067e] at 2021-03-09 00:38:46 on branch trunk — Add a comment into class.c describing the use of the hash tables (user: user, size: 56612) [annotate] [blame] [check-ins using]
| ︙ | |||
53 54 55 56 57 58 59 60 61 62 63 64 65 66 | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 | + + + + + + + + + + |
#define HASH_SIZE 8888
#define LOCAL_HASH_SIZE 5555
typedef struct {
Uint16 id;
char*txt;
} Hash;
/*
Global hash:
2800-2FFF = Variables
8000-BFFF = Functions
C000-FFFF = Macros
Local hash:
2000-27FF = Variables
8000-FFFF = Labels
*/
typedef struct InputStack {
FILE*classfp;
int linenum;
struct InputStack*next;
} InputStack;
|
| ︙ |