X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=expr.h;h=1372003d99d81d1ce9ad475e2a0889d3816e93c6;hp=ebba6594656c1b3cadf3c129cde5673c43aa2951;hb=4205233c8397c581b4d27ab36ab81ec896ef3dd0;hpb=60f204cb9e3905100da0d89f14bb40db764acd9e diff --git a/expr.h b/expr.h index ebba659..1372003 100644 --- a/expr.h +++ b/expr.h @@ -1,7 +1,7 @@ // -// RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System +// RMAC - Reboot's Macro Assembler for all Atari computers // EXPR.H - Expression Analyzer -// Copyright (C) 199x Landon Dyer, 2017 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2011-2020 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 // Source utilised with the kind permission of Landon Dyer // @@ -30,11 +30,13 @@ #define XOR 11 // Bitwise xor: ^ #define OR 12 // Bitwise or: | -// Prototypes +// Exported functions void InitExpression(void); int expr1(void); int expr2(void); -int expr(TOKEN *, VALUE *, WORD *, SYM **); -int evexpr(TOKEN *, VALUE *, WORD *, SYM **); +int expr(TOKEN *, uint64_t *, WORD *, SYM **); +int evexpr(TOKEN *, uint64_t *, WORD *, SYM **); +uint16_t ExpressionLength(TOKEN *); #endif // __EXPR_H__ +