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
History
File Mode Size
Makefile-comp.in -rw-r--r-- 271 bytes
Makefile.in -rw-r--r-- 10.4 KB
RConfigOptions.in -rw-r--r-- 162 bytes
RConfigure.in -rw-r--r-- 2.1 KB
memprobe.in -rwxr-xr-x 8.2 KB
mimes.unix.in -rw-r--r-- 7.7 KB
mimes.win32.in -rw-r--r-- 7.8 KB
proofserv.in -rwxr-xr-x 3.1 KB
root-config.in -rwxr-xr-x 24.6 KB
root-help.el.in -rw-r--r-- 54.5 KB
rootauthrc.in -rw-r--r-- 7.5 KB
rootdaemonrc.in -rw-r--r-- 2.9 KB
rootrc.in -rw-r--r-- 32.4 KB
roots.in -rwxr-xr-x 817 bytes
setxrd.csh -rw-r--r-- 3.7 KB
setxrd.sh -rw-r--r-- 3.0 KB
thisroot.bat -rw-r--r-- 408 bytes
thisroot.csh -rw-r--r-- 6.7 KB
thisroot.fish -rw-r--r-- 1.6 KB
thisroot.sh -rw-r--r-- 4.9 KB
xproofd.in -rwxr-xr-x 639 bytes

back to top