X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?p=rmac;a=blobdiff_plain;f=procln.h;h=f4db36e26188cf5724f3f147da42c299d6b2b55d;hp=254486709802bc0ea9717877cb4c705d3a2c5649;hb=4205233c8397c581b4d27ab36ab81ec896ef3dd0;hpb=d28f432296e812643e236d1bfc9b556a7b11c461 diff --git a/procln.h b/procln.h index 2544867..f4db36e 100644 --- a/procln.h +++ b/procln.h @@ -1,9 +1,10 @@ -//////////////////////////////////////////////////////////////////////////////////////////////////// -// RMAC - Reboot's Macro Assembler for the Atari Jaguar Console System +// +// RMAC - Reboot's Macro Assembler for all Atari computers // PROCLN.H - Line Processing -// Copyright (C) 199x Landon Dyer, 2011 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 +// Source utilised with the kind permission of Landon Dyer +// #ifndef __PROCLN_H__ #define __PROCLN_H__ @@ -11,25 +12,22 @@ #include "rmac.h" #include "token.h" -// Globals, externals etc -extern IFENT *ifent; -extern char *comma_error; -extern char *locgl_error; -extern char *syntax_error; +// Exported variables +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 uint32_t pcloc; +extern SYM * lab_sym; extern LONG amsktab[]; +extern IFENT * ifent; +extern IFENT * f_ifent; +extern int disabled; -// Prototypes -void init_procln(void); -void assemble(void); -int eject(void); -int d_if(void); -int d_else(void); -int d_endif(void); -int at_eol(void); +// Exported functions +void InitLineProcessor(void); +void Assemble(void); + +#endif // __PROCLN_H__ -#endif // __PROCLN_H__ \ No newline at end of file