Revision a9ccbcd5320a21645440238df269b04e41a2125f authored by moneta on 15 June 2020, 08:46:09 UTC, committed by moneta on 15 June 2020, 09:17:24 UTC
For example when a user defines a function with the name "f1gaus" and then reuses that name could cause in same case an error parsing the expression.
Example :
```
TF1 f1("f1gaus","gaus");
TF1 f2("f2gaus","f1gaus+gaus(3)");
```
If the function name is for example  "fgaus" it was working before, but not if a character number is used before the pre-defined function name such as  "f1gaus".

Add also a test for parsing these cases in TFormulaParsingTest.

This commit fixes ROOT-10815
1 parent b6700a6
Raw File
.gitattributes
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto

# Declare files that will always have CRLF line endings on checkout.
*.sln eol=crlf
*.dsp eol=crlf
*.dsw eol=crlf
*.bat eol=crlf
*.cs  eol=crlf
*.csproj eol=crlf
*.vsct  eol=crlf
*.resx  eol=crlf
*.vsixmanifest  eol=crlf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.pdf binary
*.root binary
*.fits binary
back to top