prefix notation type parser

This commit is contained in:
Ellen Arvidsson 2025-04-19 20:35:42 +03:00
parent 9b24c8a496
commit 9ac779c1cf
14 changed files with 1217 additions and 151 deletions

18
include/msph/common.h Normal file
View file

@ -0,0 +1,18 @@
#ifndef _MSPH_COMMON_H
#define _MSPH_COMMON_H
#include "msph/err.h"
#define MSPH_IDENT_LEN 128
struct msph_ctx {
int err;
int err_info;
char errbuf[SPHO_ERR_BUF_LEN];
#ifdef SPHO_DEBUG
char filebuf[SPHO_ERR_FILEBUF_LEN];
int errline;
#endif
};
#endif