Make names starting with digits use normal name parsing code

This commit is contained in:
Evil Eye 2021-09-16 18:06:46 +02:00
parent 2f4df12b2e
commit c679565893
3 changed files with 5 additions and 23 deletions

View file

@ -236,7 +236,7 @@ namespace Compiler
bool scanFloat (const std::string& intValue, Parser& parser, bool& cont);
bool scanName (MultiChar& c, Parser& parser, bool& cont);
bool scanName (MultiChar& c, Parser& parser, bool& cont, std::string name = {});
/// \param name May contain the start of the name (one or more characters)
bool scanName (std::string& name);