Fix infinite loop when parsing datatypes (fixes #2011356).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@2758 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
378651ddfd
commit
d994c9f7e1
@ -1,3 +1,9 @@
|
||||
2008-07-07 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
|
||||
|
||||
* tagmanager/haskell.c:
|
||||
Fix infinite loop when parsing datatypes (fixes #2011356).
|
||||
|
||||
|
||||
2008-07-05 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||
|
||||
* doc/plugins.dox, src/editor.c, src/geanyobject.c, src/geanyobject.h,
|
||||
|
@ -152,7 +152,7 @@ static int inside_datatype(vString *name)
|
||||
return c;
|
||||
}
|
||||
}
|
||||
} while (c != '=');
|
||||
} while (c != EOF && c != '=');
|
||||
st = Find_Constr;
|
||||
}
|
||||
else if (st == Find_Constr)
|
||||
@ -202,7 +202,7 @@ static int inside_datatype(vString *name)
|
||||
st = Find_Bar;
|
||||
break;
|
||||
}
|
||||
} while (c != ',');
|
||||
} while (c != EOF && c != ',');
|
||||
}
|
||||
else if (st == Find_Bar)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user