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

aclic options, fix a couple of bugs

git-svn-id: http://root.cern.ch/svn/root/trunk@5438 27541ba8-7e3a-0410-8455-c3a389f83636
parent 350b79cf
No related branches found
No related tags found
No related merge requests found
......@@ -605,7 +605,7 @@ void TApplication::ProcessLine(const char *line, Bool_t sync, int *err)
if (len>1) {
if (strcmp(fn+len-1,"d")==0) mode = "d";
else if (strcmp(fn+len-1,"o")==0) mode = "o";
len--;
if (mode) len--;
}
Bool_t compile = !strncmp(fn+len-1,"+",1);
Bool_t remove = !strncmp(fn+len-2,"++",2);
......
......@@ -1040,8 +1040,8 @@ char *filenamein;
} else {
if (compiler_option) {
switch(compiler_option[0]) {
case 'o': compiler_option = "ko";
case 'd': compiler_option = "kd";
case 'o': compiler_option = "ko"; break;
case 'd': compiler_option = "kd"; break;
default: G__genericerror("Should not have been reached!");
}
} else {
......
......@@ -1040,8 +1040,8 @@ char *filenamein;
} else {
if (compiler_option) {
switch(compiler_option[0]) {
case 'o': compiler_option = "ko";
case 'd': compiler_option = "kd";
case 'o': compiler_option = "ko"; break;
case 'd': compiler_option = "kd"; break;
default: G__genericerror("Should not have been reached!");
}
} else {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment