Motr  M0
ff2c.c File Reference
#include <stdio.h>
#include "lib/misc.h"
#include "ut/ut.h"
#include "xcode/ff2c/lex.h"
#include "xcode/ff2c/parser.h"
#include "xcode/ff2c/sem.h"
#include "xcode/ff2c/gen.h"
Include dependency graph for ff2c.c:

Go to the source code of this file.

Functions

 __attribute__ ((unused))
 
static void ff2c_lex_test (void)
 
static void ff2c_parser_test (void)
 
static void ff2c_sem_test (void)
 
static void ff2c_gen_test (void)
 

Variables

static const char sample []
 
struct m0_ut_suite xcode_ff2c_ut
 

Function Documentation

◆ __attribute__()

__attribute__ ( (unused)  )

Definition at line 75 of file ff2c.c.

◆ ff2c_gen_test()

static void ff2c_gen_test ( void  )
static

Definition at line 176 of file ff2c.c.

Here is the call graph for this function:

◆ ff2c_lex_test()

static void ff2c_lex_test ( void  )
static

Definition at line 84 of file ff2c.c.

Here is the call graph for this function:

◆ ff2c_parser_test()

static void ff2c_parser_test ( void  )
static

Definition at line 108 of file ff2c.c.

Here is the call graph for this function:

◆ ff2c_sem_test()

static void ff2c_sem_test ( void  )
static

Definition at line 126 of file ff2c.c.

Here is the call graph for this function:

Variable Documentation

◆ sample

const char sample[]
static

Definition at line 33 of file ff2c.c.

◆ xcode_ff2c_ut

struct m0_ut_suite xcode_ff2c_ut
Initial value:
= {
.ts_name = "ff2c-ut",
.ts_init = NULL,
.ts_fini = NULL,
.ts_tests = {
{ "xcode-lex", ff2c_lex_test },
{ "xcode-parser", ff2c_parser_test },
{ "xcode-sem", ff2c_sem_test },
{ "xcode-gen", ff2c_gen_test },
{ NULL, NULL }
}
}
#define NULL
Definition: misc.h:38
static void ff2c_lex_test(void)
Definition: ff2c.c:84
static void ff2c_gen_test(void)
Definition: ff2c.c:176
static void ff2c_parser_test(void)
Definition: ff2c.c:108
static void ff2c_sem_test(void)
Definition: ff2c.c:126

Definition at line 206 of file ff2c.c.