forked from vhelin/wla-dx
-
Notifications
You must be signed in to change notification settings - Fork 0
/
parse.h
23 lines (20 loc) · 864 Bytes
/
parse.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#ifndef _PARSE_H
#define _PARSE_H
int input_number(void);
int input_next_string(void);
int get_next_plain_string(void);
int get_next_token(void);
int skip_next_token(void);
int compare_next_token(char *token);
int compare_and_skip_next_symbol(char symbol);
int expand_macro_arguments(char *in, int *type, double *value);
int expand_variables_inside_string(char *label, int max_size, int *length);
int is_string_ending_with(char *s, char *e);
int is_macro_arg_type_label(char *label);
int strcaselesscmpn(char *s1, char *s2, int length);
int process_special_labels(char *label);
int process_string_for_special_characters(char *label, int *string_size);
int parse_function(char *in, char *name, int *found_function, int *parsed_chars);
int add_namespace_to_a_label(char *label, int sizeof_label, int add_outside_macros);
int should_we_add_namespace(void);
#endif