Make "SPECIAL MSG" the same as "MSG" and same for MSF, RUN, PS and PSFILE

This lets us use variables to set the type of a REM command:

     SET t "MSG"
     REM SPECIAL [t] A message
     SET t "CAL"
     REM SPECIAL [t] A calendar message
     SET t "RUN"
     REM SPECIAL [t] /bin/some_cmd
This commit is contained in:
Dianne Skoll
2023-03-03 11:53:45 -05:00
parent 5134b47d47
commit f9656edc51
3 changed files with 34 additions and 2 deletions
+1
View File
@@ -177,6 +177,7 @@ int push_call(char const *filename, char const *func, int lineno);
void clear_callstack(void);
int print_callstack(FILE *fp);
void pop_call(void);
void FixSpecialType(Trigger *trig);
#ifdef REM_USE_WCHAR
#define _XOPEN_SOURCE 600
#include <wctype.h>