No one objected, so I changed case '0' ... case '7' in common.c to case '0': case '1': case

2' and so on. Now it compiles with MSVC.
This commit is contained in:
Anton E. Gavrilov 2000-03-06 16:04:35 +00:00
parent 5bfd333ae6
commit 46de54d92d

View file

@ -648,7 +648,9 @@ skipwhite:
base+=8;
string=data;
goto parse_char_number;
case '0' ... '7':
//Tonik case '0' ... '7': -- MSVC 6.0 doesn't understand this
case '0': case '1': case '2': case '3':
case '4': case '5': case '6': case '7':
strncpy(buf,data,3);
parse_char_number:
c=strtol(string,&str,base);