mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
30 lines
861 B
Plaintext
30 lines
861 B
Plaintext
From d5fe8e4b8ed4b62f27d94cb45d925a735cf2b817 Mon Sep 17 00:00:00 2001
|
|
From: begasus <begasus@gmail.com>
|
|
Date: Sat, 1 Dec 2018 14:50:06 +0100
|
|
Subject: fix gcc2 parse error
|
|
|
|
|
|
diff --git a/tests/run-dumper.c b/tests/run-dumper.c
|
|
index 302b9b9..346db0f 100644
|
|
--- a/tests/run-dumper.c
|
|
+++ b/tests/run-dumper.c
|
|
@@ -80,6 +80,7 @@ int compare_nodes(yaml_document_t *document1, int index1,
|
|
yaml_document_t *document2, int index2, int level)
|
|
{
|
|
if (level++ > 1000) return 0;
|
|
+ {
|
|
yaml_node_t *node1 = yaml_document_get_node(document1, index1);
|
|
yaml_node_t *node2 = yaml_document_get_node(document2, index2);
|
|
int k;
|
|
@@ -124,6 +125,7 @@ int compare_nodes(yaml_document_t *document1, int index1,
|
|
break;
|
|
}
|
|
return 1;
|
|
+ }
|
|
}
|
|
|
|
int compare_documents(yaml_document_t *document1, yaml_document_t *document2)
|
|
--
|
|
2.19.1
|
|
|