Commit 4b23867c authored by John van Groningen's avatar John van Groningen

check if Start; is followed by a digit

parent 4d7abdd4
......@@ -2575,7 +2575,7 @@ void
BEDeclareFunction (CleanString name, int arity, int functionIndex, int ancestor)
{
/* +++ ugly */
if (strncmp (name->chars, "Start;", 6) == 0)
if (strncmp (name->chars, "Start;", 6) == 0 && isdigit (name->chars[6]))
name->length = 5;
DeclareFunctionC (ConvertCleanString (name), arity, functionIndex, ancestor);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment