Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
extractor
gesa
Commits
0676a8da
Commit
0676a8da
authored
Jan 18, 2018
by
jkvis
Browse files
Preparing for suffix link calculation
parent
0b439449
Changes
2
Hide whitespace changes
Inline
Side-by-side
tests/test_debug.c
View file @
0676a8da
...
...
@@ -36,7 +36,7 @@ static GESA_index_t GESA_STACK_top(GESA_STACK const* const stack)
static
void
GESA_STACK_push
(
GESA_STACK
*
const
stack
,
GESA_index_t
data
)
{
printf
(
" push: %d
\n
"
,
data
);
//
printf(" push: %d\n", data);
if
(
stack
->
size
>=
GESA_STACK_SIZE
)
{
fprintf
(
stderr
,
"Error: GESA_STACK_push()
\n
"
);
...
...
@@ -49,7 +49,7 @@ static void GESA_STACK_push(GESA_STACK* const stack, GESA_index_t data)
static
void
GESA_STACK_pop
(
GESA_STACK
*
const
stack
)
{
printf
(
" pop
\n
"
);
//
printf(" pop\n");
if
(
stack
->
size
==
0
)
{
fprintf
(
stderr
,
"Error: GESA_STACK_pop()
\n
"
);
...
...
tests/utils.c
View file @
0676a8da
#include <stdio.h>
#include <stdlib.h>
#include "utils.h"
#include "../include/gesa.h"
#include "utils.h"
void
print_test_prolog
(
int
argc
,
char
*
argv
[])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment