parent
5c5b0f97b7
commit
a923d1f89b
|
@ -198,8 +198,8 @@ Scope::Scope(Parser& parser,bool topLevel)
|
||||||
elements.insert(ElementMap::value_type(str, element));
|
elements.insert(ElementMap::value_type(str, element));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
ParseError("unexpected end of file",parser.LastToken());
|
|
||||||
delete element;
|
delete element;
|
||||||
|
ParseError("unexpected end of file",parser.LastToken());
|
||||||
} else {
|
} else {
|
||||||
elements.insert(ElementMap::value_type(str, element));
|
elements.insert(ElementMap::value_type(str, element));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue