From 0d0fe2f9e96ea92142d65ba96d6d7f42124dc268 Mon Sep 17 00:00:00 2001
From: Alexis Nasr <alexis.nasr@lif.univ-mrs.fr>
Date: Mon, 19 Feb 2018 09:29:31 +0100
Subject: [PATCH] fixed a bug (initialization of punct_label variable) in
 context.c

---
 maca_trans_parser/src/context.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/maca_trans_parser/src/context.c b/maca_trans_parser/src/context.c
index f29b001..0a9f630 100644
--- a/maca_trans_parser/src/context.c
+++ b/maca_trans_parser/src/context.c
@@ -80,7 +80,7 @@ context *context_new(void)
   ctx->language = strdup("fr");
 
   ctx->root_label = strdup("root");
-  ctx->root_label = strdup("ponct");
+  ctx->punct_label = strdup("ponct");
   ctx->d_perceptron_features = NULL;
   ctx->d_perceptron_features_error = NULL;
   ctx->mcd_struct = NULL;
-- 
GitLab