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

check if Start; is followed by a digit

parent 4d7abdd4
...@@ -2575,7 +2575,7 @@ void ...@@ -2575,7 +2575,7 @@ void
BEDeclareFunction (CleanString name, int arity, int functionIndex, int ancestor) BEDeclareFunction (CleanString name, int arity, int functionIndex, int ancestor)
{ {
/* +++ ugly */ /* +++ ugly */
if (strncmp (name->chars, "Start;", 6) == 0) if (strncmp (name->chars, "Start;", 6) == 0 && isdigit (name->chars[6]))
name->length = 5; name->length = 5;
DeclareFunctionC (ConvertCleanString (name), arity, functionIndex, ancestor); 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