X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=expr.h;h=517c4a04158f16c49622130a5bc335ba7c830f13;hp=ebba6594656c1b3cadf3c129cde5673c43aa2951;hb=66b362fa203d0850e8dce8045adb454e354c22ce;hpb=60f204cb9e3905100da0d89f14bb40db764acd9e diff --git a/expr.h b/expr.h index ebba659..517c4a0 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-2018 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__ +