Menu

#34 [PATCH] Add basic Haskell support

open
nobody
None
5
2005-11-13
2005-11-13
No

This patch adds basic Haskell support

Cheers,
Ferdy

Discussion

  • Fernando Pereda Garcimartín

    adds haskell support

     
  • Nick Treleaven

    Nick Treleaven - 2008-07-07

    Logged In: YES
    user_id=1268692
    Originator: NO

    We found a hang in inside_datatype() when reaching an unexpected EOF:

    Index: ctags/haskell.c

    --- ctags/haskell.c (revision 2757)
    +++ ctags/haskell.c (working copy)
    @@ -152,7 +152,7 @@
    return c;
    }
    }
    - } while (c != '=');
    + } while (c != EOF && c != '=');
    st = Find_Constr;
    }
    else if (st == Find_Constr)
    @@ -202,7 +202,7 @@
    st = Find_Bar;
    break;
    }
    - } while (c != ',');
    + } while (c != EOF && c != ',');
    }
    else if (st == Find_Bar)
    {

     
  • Nick Treleaven

    Nick Treleaven - 2008-07-07

    Logged In: YES
    user_id=1268692
    Originator: NO

    Sorry, this isn't relevant for this patch, I was confused with the older patch.

     

Log in to post a comment.