35 "require \"lib/vec.ff\"; \n" 38 " u64 f_container; \n" 54 " void fa_none :NR; \n" 62 "optfid t_alias;*/ \n" 67 " *m0_cred p_cred [m0_package_cred_get]; \n" 99 const char ruler[] =
"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
100 printf(
"%*.*s %11.11s: ",
depth,
depth, ruler,
102 token_print(&
t->fn_tok);
104 for (
t =
t->fn_head;
t !=
NULL;
t =
t->fn_next)
105 parser_print(
t,
depth + 1);
183 .go_guardname =
"__GUARD__",
184 .go_out = fopen(
"/dev/null",
"w")
const char * ff2c_term_type_name[]
static const char sample[]
void ff2c_context_fini(struct ff2c_context *ctx)
void ff2c_sem_fini(struct ff2c_ff *ff)
static void ff2c_lex_test(void)
static int ff(struct ff2c_context *ctx, struct ff2c_term *term)
struct m0_ut_suite xcode_ff2c_ut
int ff2c_c_gen(const struct ff2c_ff *ff, const struct ff2c_gen_opt *opt)
enum ff2c_token_type ft_type
const char * ff2c_token_type_name[]
static struct m0_thread t[8]
int ff2c_h_gen(const struct ff2c_ff *ff, const struct ff2c_gen_opt *opt)
static void ff2c_gen_test(void)
void ff2c_sem_init(struct ff2c_ff *ff, struct ff2c_term *top)
static void ff2c_parser_test(void)
struct m0_rpc_fop_session_terminate term
void ff2c_term_fini(struct ff2c_term *term)
void ff2c_context_init(struct ff2c_context *ctx, const char *buf, size_t size)
int ff2c_parse(struct ff2c_context *ctx, struct ff2c_term **out)
static void ff2c_sem_test(void)