This patch adds basic Haskell support
Cheers, Ferdy
adds haskell support
Logged In: YES user_id=1268692 Originator: NO
We found a hang in inside_datatype() when reaching an unexpected EOF:
--- 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) {
Sorry, this isn't relevant for this patch, I was confused with the older patch.
Log in to post a comment.
adds haskell support
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)
{
Logged In: YES
user_id=1268692
Originator: NO
Sorry, this isn't relevant for this patch, I was confused with the older patch.