Add parsehdr to the build

As requested in #22

(cherry picked from commit d5985b4b97cb06a89050c34674878c6430432fe1)
This commit is contained in:
nemerle 2016-05-19 19:50:47 +02:00
parent b60903306f
commit cd6797499f
5 changed files with 1049 additions and 1311 deletions

View File

@ -1 +1,2 @@
add_subdirectory(makedsig) add_subdirectory(makedsig)
add_subdirectory(parsehdr)

View File

@ -0,0 +1,4 @@
add_executable(parselib parsehdr.cpp)
target_link_libraries(parselib dcc_hash)
qt5_use_modules(parselib Core)

View File

@ -1,3 +1,4 @@
#pragma once
/*$Log: locident.h,v $ /*$Log: locident.h,v $
* Revision 1.6 94/02/22 15:20:23 cifuente * Revision 1.6 94/02/22 15:20:23 cifuente
* Code generation is done. * Code generation is done.

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,5 @@
#pragma once
#include "Enums.h"
/* /*
*$Log: parsehdr.h,v $ *$Log: parsehdr.h,v $
*/ */
@ -8,9 +10,6 @@ typedef unsigned char byte; /* 8 bits */
typedef unsigned short word; /* 16 bits */ typedef unsigned short word; /* 16 bits */
typedef unsigned char boolT; /* 8 bits */ typedef unsigned char boolT; /* 8 bits */
#define TRUE 1
#define FALSE 0
#define BUFF_SIZE 8192 /* Holds a declaration */ #define BUFF_SIZE 8192 /* Holds a declaration */
#define FBUF_SIZE 32700 /* Holds part of a header file */ #define FBUF_SIZE 32700 /* Holds part of a header file */
@ -38,11 +37,8 @@ void phWarning(char *errmsg);
#define SYMLEN 16 /* Including the null */ #define SYMLEN 16 /* Including the null */
#define Int long /* For locident.h */ #define Int long /* For locident.h */
#define int16 short int /* For locident.h */ //#include "locident.h" /* For the hlType enum */
#include "locident.h" /* For the hlType enum */ //#define bool unsigned char /* For internal use */
#define bool unsigned char /* For internal use */
#define TRUE 1
#define FALSE 0
typedef typedef
struct ph_func_tag struct ph_func_tag