diff options
author | dreammaster | 2019-06-22 04:15:20 +0100 |
---|---|---|
committer | Paul Gilbert | 2019-06-22 14:40:50 -0700 |
commit | 2cf0320569c80c8e389e44d1b0463792ddf8e7cd (patch) | |
tree | f71d988b3b8dc6948d004551fd2a4e02697f2aea /engines/glk/alan2/acode.h | |
parent | 2450df501c152249fe1002a7dee70642563d40a3 (diff) | |
download | scummvm-rg350-2cf0320569c80c8e389e44d1b0463792ddf8e7cd.tar.gz scummvm-rg350-2cf0320569c80c8e389e44d1b0463792ddf8e7cd.tar.bz2 scummvm-rg350-2cf0320569c80c8e389e44d1b0463792ddf8e7cd.zip |
GLK: ALAN2: Fixing gcc warnings
Diffstat (limited to 'engines/glk/alan2/acode.h')
-rw-r--r-- | engines/glk/alan2/acode.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/glk/alan2/acode.h b/engines/glk/alan2/acode.h index 35153ceb7b..dcc292b16b 100644 --- a/engines/glk/alan2/acode.h +++ b/engines/glk/alan2/acode.h @@ -72,7 +72,13 @@ typedef int WrdKind; /* Syntax element classifications */ -#define EOS (-2) /* End Of Syntax */ +// End of file +#ifdef EOF +#undef EOF +#endif +#define EOF ((uint32)-1) +// End of syntax +#define EOS ((uint32)-2) /* Syntax element flag bits */ #define MULTIPLEBIT 0x1 |