Uploaded image for project: 'ROOT'
  1. ROOT
  2. ROOT-8529

Failed parsing of multiplication/division in interactive session

    XMLWordPrintable

    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:

      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

        Attachments

          Activity

            People

            Assignee:
            axel Axel Naumann
            Reporter:
            ald77 Adam Dishaw (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: