Skip to content
Snippets Groups Projects
Commit 40d06604 authored by Rene Brun's avatar Rene Brun
Browse files

From Axel:

Ignore .x in comments. Fixes Savannah #69152.


git-svn-id: http://root.cern.ch/svn/root/trunk@34100 27541ba8-7e3a-0410-8455-c3a389f83636
parent 99646eb4
No related branches found
No related tags found
No related merge requests found
...@@ -929,7 +929,7 @@ Long_t TApplication::ExecuteFile(const char *file, Int_t *error, Bool_t keep) ...@@ -929,7 +929,7 @@ Long_t TApplication::ExecuteFile(const char *file, Int_t *error, Bool_t keep)
} }
if (!*s || *s == '#' || ifndefc || !strncmp(s, "//", 2)) continue; if (!*s || *s == '#' || ifndefc || !strncmp(s, "//", 2)) continue;
if (!strncmp(s, ".X", 2) || !strncmp(s, ".x", 2)) { if (!comment && (!strncmp(s, ".X", 2) || !strncmp(s, ".x", 2))) {
retval = ExecuteFile(s+3); retval = ExecuteFile(s+3);
execute = kTRUE; execute = kTRUE;
continue; continue;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment