summaryrefslogtreecommitdiff
path: root/src/analysis/scan/patterns/backends
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/scan/patterns/backends')
-rw-r--r--src/analysis/scan/patterns/backends/acism.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/scan/patterns/backends/acism.c b/src/analysis/scan/patterns/backends/acism.c
index 5037405..53bad11 100644
--- a/src/analysis/scan/patterns/backends/acism.c
+++ b/src/analysis/scan/patterns/backends/acism.c
@@ -598,7 +598,7 @@ static void g_acism_backend_build_trie(GAcismBackend *backend)
*/
else
{
- assert(backend->sources[node->matched_atom - 1].first);
+ assert(backend->sources[node->matched_atom - 1].is_first);
source->is_first = false;
source->first_source = node->matched_atom - 1;
@@ -665,7 +665,7 @@ static void g_acism_backend_build_trie(GAcismBackend *backend)
}
- assert(current_start == backend->source_count);
+ assert(current_start == backend->sources_count);
}