X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=procln.h;h=c85312ad984fe11678e1f7d593bdc90304e478c8;hp=053e80316c114485db543aa916672a8c835f3a24;hb=5cd8a4814b805f1ef8ce689423eb5eeba12573c5;hpb=75cce0d9eb190f6094f66ae283b5981af25e5a57 diff --git a/procln.h b/procln.h index 053e803..c85312a 100644 --- a/procln.h +++ b/procln.h @@ -1,9 +1,9 @@ // // RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System // PROCLN.H - Line Processing -// Copyright (C) 199x Landon Dyer, 2011 Reboot and Friends +// Copyright (C) 199x Landon Dyer, 2017 Reboot and Friends // RMAC derived from MADMAC v1.07 Written by Landon Dyer, 1986 -// Source Utilised with the Kind Permission of Landon Dyer +// Source utilised with the kind permission of Landon Dyer // #ifndef __PROCLN_H__ @@ -11,26 +11,33 @@ #include "rmac.h" #include "token.h" +#include "amode.h" -// Globals, externals etc -extern IFENT *ifent; -extern char *comma_error; -extern char *locgl_error; -extern char *syntax_error; +// Exported variables +extern IFENT * ifent; +extern const char comma_error[]; +extern const char locgl_error[]; +extern const char syntax_error[]; +extern const char extra_stuff[]; extern int just_bss; extern VALUE pcloc; -extern IFENT *ifent; -extern SYM *lab_sym; -extern char extra_stuff[]; +extern SYM * lab_sym; extern LONG amsktab[]; +int bfparam1; +int bfparam2; +TOKEN bf0expr[EXPRSIZE]; // Expression +VALUE bf0exval; // Expression's value +WORD bf0exattr; // Expression's attribute +SYM * bf0esym; // External symbol involved in expr -// Prototypes -void init_procln(void); -void assemble(void); -int eject(void); + +// Exported functions +void InitLineProcessor(void); +void Assemble(void); int d_if(void); int d_else(void); int d_endif(void); -int at_eol(void); +int check030bf(void); #endif // __PROCLN_H__ +