Started from buttom go to the sky
This commit is contained in:
parent
96215449bd
commit
f811e55dea
4781 changed files with 10121 additions and 1743 deletions
38
parser/static/char_set/charset_inline.h
Normal file
38
parser/static/char_set/charset_inline.h
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* charset_inline.h :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/04/14 19:17:54 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/04/14 19:18:20 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#ifndef CHARSET_INLINE_H
|
||||
# define CHARSET_INLINE_H
|
||||
# include "../../parse_types.h"
|
||||
# include <stdint.h>
|
||||
|
||||
static inline t_char_range *sym__comment_word_character_set_1(void)
|
||||
{
|
||||
static t_char_range val[12] = {{0, 0x08}, {0x0e, 0x1f}, \
|
||||
{'!', '!'}, {'#', '#'}, {'%', '%'}, {'*', ':'}, {'=', \
|
||||
'='}, {'?', 'Z'}, {'\\', '\\'}, {'^', '_'}, {'a', 'z'}, \
|
||||
{'~', 0x10ffff}};
|
||||
|
||||
return (val);
|
||||
}
|
||||
|
||||
static inline t_char_range *sym_word_character_set_1(void)
|
||||
{
|
||||
static t_char_range val[11] = {{0, 0x08}, {0x0e, 0x1f}, \
|
||||
{'!', '!'}, {'%', '%'}, {'*', ':'}, {'=', '='}, {'?', \
|
||||
'Z'}, {'\\', '\\'}, {'^', '_'}, {'a', 'z'}, {'~', \
|
||||
0x10ffff}};
|
||||
|
||||
return (val);
|
||||
}
|
||||
|
||||
#endif // CHARSET_INLINE_H
|
||||
Loading…
Add table
Add a link
Reference in a new issue