Details
-
Type:
Bug
-
Status: Closed (View Workflow)
-
Priority:
High
-
Resolution: Fixed
-
Affects Version/s: 6.02/05
-
Fix Version/s: 6.10/00
-
Component/s: Cling
-
Labels:None
-
Environment:
slc6_amd64_gcc491
-
Development:
Description
When running an unnamed macro in ROOT6, if one includes an opening parenthesis in a block comment and not a closing one, cling issues an error.
e.g.
{
|
/*
|
* :(
|
*/
|
cout << "ROOT" << endl;
|
}
|
When run in 6.02/05, it causes the error:
root [0]
|
Processing smiley.C...
|
Error in cling::MetaProcessor: file smiley.C is incomplete (missing parenthesis or similar)!
|
root [1] .q
|
This runs fine in ROOT5 however (tested on 5.34/30).
Note that cling doesn't have an issue with the closing parenthesis [i.e. :) ], nor does it mind a solo "(" in a single line comment, e.g.
{
|
// :(
|
cout << "I work fine" << endl;
|
}
|
Attachments
Issue Links
- relates to
-
ROOT-7033 Unnamed macro: phony error if a commented closing brace is present
-
- Open
-