Correct syntax error in lt_trie.c

Issue #4 resolved
Former user created an issue

While packaging liblangtag for NetBSD, I've had to patch liblangtag/lt_trie.c in order to get it to compile (problems with a double definition). The patch is attached.

Comments (4)

  1. Jaap Boender

    The patch isn't actually attached, sorry, and I can't get the "Attach" button to work. I'll just paste it below:

    --- liblangtag/lt-trie.c.orig   2013-04-30 02:37:30.000000000 +0000
    +++ liblangtag/lt-trie.c
    @@ -33,11 +33,11 @@ struct _lt_trie_t {
            lt_iter_tmpl_t  parent;
            lt_trie_node_t *root;
     };
    -typedef struct _lt_trie_iter_t {
    +struct _lt_trie_iter_t {
            lt_iter_t    parent;
            lt_list_t   *stack;
            lt_string_t *pos_str;
    -} lt_trie_iter_t;
    +};
    
     /*< private >*/
     static lt_trie_node_t *
    
  2. Akira TAGOH repo owner

    What the version is this patch for? I think this issue should be fixed on either of branches in git.

  3. Akira TAGOH repo owner

    Sure. then it has been already fixed in 0.5.x branch. that fix should be in next release. thanks for reporting anyway.

  4. Log in to comment