Rename header files.

This commit is contained in:
Danila Fedorin 2018-02-11 22:32:42 -08:00
parent f67b98d7a6
commit 74034c7b76
10 changed files with 10 additions and 10 deletions

View File

@ -8,7 +8,7 @@ project(libabacus)
add_compile_options(-pedantic -Wall) add_compile_options(-pedantic -Wall)
add_library(abacus STATIC src/lexer.c src/libabacus_util.c src/table.c src/parser.c src/libabacus.c) add_library(abacus STATIC src/lexer.c src/util.c src/table.c src/parser.c src/libabacus.c)
add_executable(libabacus src/main.c) add_executable(libabacus src/main.c)
add_subdirectory(external/liblex) add_subdirectory(external/liblex)

View File

@ -2,7 +2,7 @@
#define LIBABACUS_LEXER_H #define LIBABACUS_LEXER_H
#include "eval.h" #include "eval.h"
#include "libabacus_result.h" #include "result.h"
/** /**
* The lexer used for reading * The lexer used for reading

View File

@ -5,7 +5,7 @@
#include "lexer.h" #include "lexer.h"
#include "table.h" #include "table.h"
#include "parser.h" #include "parser.h"
#include "libabacus_result.h" #include "result.h"
/** /**
* A function pointer that is called * A function pointer that is called

View File

@ -2,7 +2,7 @@
#define LIBABACUS_TABLE_H #define LIBABACUS_TABLE_H
#include "ht.h" #include "ht.h"
#include "libabacus_result.h" #include "result.h"
/** /**
* A struct that represents a structure * A struct that represents a structure

View File

@ -1,7 +1,7 @@
#ifndef LIBABACUS_TREE_H #ifndef LIBABACUS_TREE_H
#define LIBABACUS_TREE_H #define LIBABACUS_TREE_H
#include "libabacus_result.h" #include "result.h"
#include "vec.h" #include "vec.h"
/** /**

View File

@ -3,7 +3,7 @@
#include "libds.h" #include "libds.h"
#include "liblex.h" #include "liblex.h"
#include "libabacus_result.h" #include "result.h"
/** /**
* Converts a result code from liblex to libabacus. * Converts a result code from liblex to libabacus.

View File

@ -1,6 +1,6 @@
#include "lexer.h" #include "lexer.h"
#include "ll.h" #include "ll.h"
#include "libabacus_util.h" #include "util.h"
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h> #include <ctype.h>

View File

@ -1,6 +1,6 @@
#include "parser.h" #include "parser.h"
#include "libabacus_util.h" #include "util.h"
#include "libabacus_result.h" #include "result.h"
#include "lexer.h" #include "lexer.h"
#include <stdlib.h> #include <stdlib.h>
#include <string.h> #include <string.h>

View File

@ -1,4 +1,4 @@
#include "libabacus_util.h" #include "util.h"
libab_result libab_convert_lex_result(liblex_result to_convert) { libab_result libab_convert_lex_result(liblex_result to_convert) {
libab_result result = LIBAB_SUCCESS; libab_result result = LIBAB_SUCCESS;