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

ProcessLine behaves differently if an include statement is present in the text passed to it

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • High
    • Resolution: Fixed
    • None
    • 6.08/00
    • Cling
    • None
    • linux/osx

    Description

      If an include statement is present in the text passed to ProcessLine, the method behaves like Declare:

      gInterpreter->ProcessLine("void g(){};") ; //Will fail
      gInterpreter->ProcessLine("#include \"TH1F.h\"\nvoid g(){};") ; //Will succeed and g will be available

      Attachments

        Activity

          People

            axel Axel Naumann
            dpiparo Danilo Piparo
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: