Re-activate unit testing and starting work on proper memory segmentation support

Use Qt testing framework.

Reorganize source file references in CMakeLists.txt

Add simplistic Address header and type ( typedef for now )
This commit is contained in:
nemerle
2016-05-20 12:08:39 +02:00
parent 171abc0415
commit 3905c4e281
22 changed files with 521 additions and 183 deletions

View File

@@ -406,8 +406,9 @@ void phChar(char ch) {
/* Take a lump of data from a header file, and churn the state machine
through each char */
boolT phData(char *buff, int ndata) {
int i, j;
int i;
#ifdef DEBUG
int j=0;
char cLine[81];
char cfLine[90];
#endif
@@ -415,7 +416,6 @@ boolT phData(char *buff, int ndata) {
if (ndata < 1) {
ndata = strlen(buff);
}
j = 0;
for (i = 0; i < ndata; i++) {
phChar(buff[i]);