proper c flags

This commit is contained in:
Ellen Arvidsson 2025-04-15 23:50:14 +02:00
parent b9266cdf96
commit 9b24c8a496
3 changed files with 32 additions and 31 deletions

View file

@ -102,7 +102,8 @@ enum msph_tok_type {
TOK_AMP, // &
TOK_PIPE, // |
TOK_RARROW, // =>
TOK_IMPL, // =>
TOK_RARROW, // ->
TOK_SUB, // <:
TOK_KW_TYPE, // type
@ -136,7 +137,7 @@ struct msph_token {
};
#define MSPH_FILE_NAME_LEN 1024
#define MSPH_FILE_BUF_LEN 4096
#define MSPH_FILE_BUF_LEN 2048
#define MSPH_TOKEN_SRC_FILE 1
struct msph_token_src_file {
@ -187,7 +188,7 @@ ssize_t msph_token_stream_read_tok(struct msph_token *, size_t,
struct msph_token_stream *);
int msph_token_stream_print(struct msph_token_stream *, FILE *);
size_t msph_token_str(char *buf, size_t len, struct msph_token *tok);
ssize_t msph_token_str(char *buf, size_t len, struct msph_token *tok);
#endif /* _MSPH_EXPR_H */