Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 6.10/00
-
Component/s: Cling
-
Labels:None
-
Environment:
OS: macOS Sierra Version 10.12.2
platform: macosx
arch: macosx64
git-revision: v6-09-01-1005-g832b606
features: asimage astiff bonjour builtin_afterimage builtin_ftgl builtin_freetype builtin_gl2ps builtin_glew builtin_unuran builtin_llvm cxx11 libcxx cling cocoa exceptions explicitlink fortran genvector krb5 ldap mathmore memstat minuit2 opengl pch pgsql python python3 roofit rpath shared sqlite ssl thread tmva xmlOS: macOS Sierra Version 10.12.2 platform: macosx arch: macosx64 git-revision: v6-09-01-1005-g832b606 features: asimage astiff bonjour builtin_afterimage builtin_ftgl builtin_freetype builtin_gl2ps builtin_glew builtin_unuran builtin_llvm cxx11 libcxx cling cocoa exceptions explicitlink fortran genvector krb5 ldap mathmore memstat minuit2 opengl pch pgsql python python3 roofit rpath shared sqlite ssl thread tmva xml
-
Development:
Description
In an interactive session, division followed by multiplication in a single command line breaks the read-eval-print-loop. Rather than printing the result of the expression, ROOT attempts to continue the command onto a new line. All future commands, regardless of whether they contain division followed by multiplication are also parsed incorrectly.
Here is an example ROOT session:
root [0] 3*4/2
(int) 6
root [1] 4/2*3
root (cont'ed, cancel with .@) [2].@
root [3] 4
root (cont'ed, cancel with .@) [4].@
root [5] .q