]>
Commit | Line | Data |
---|---|---|
1 | diff -Nur dict-web1913-1.4.orig/libmaa/parse.c dict-web1913-1.4.chng/libmaa/parse.c | |
2 | --- dict-web1913-1.4.orig/libmaa/parse.c 1998-02-22 20:32:36.000000000 +0100 | |
3 | +++ dict-web1913-1.4.chng/libmaa/parse.c 2007-05-11 21:11:25.000000000 +0200 | |
4 | @@ -75,7 +75,7 @@ | |
5 | ||
6 | if (!cpp) { | |
7 | if ((cpp = getenv( "KHEPERA_CPP" ))) { | |
8 | - PRINTF(MAA_PARSE,(__FUNCTION__ ": Using KHEPERA_CPP from %s\n",cpp)); | |
9 | + PRINTF(MAA_PARSE,("%s: Using KHEPERA_CPP from %s\n", __FUNCTION__, cpp)); | |
10 | } | |
11 | ||
12 | /* Always look for gcc's cpp first, since | |
13 | @@ -86,7 +86,7 @@ | |
14 | ||
15 | if (fread( buf, 1, 1023, tmp ) > 0) { | |
16 | if ((t = strchr( buf, '\n' ))) *t = '\0'; | |
17 | - PRINTF(MAA_PARSE,(__FUNCTION__ ": Using GNU cpp from %s\n",buf)); | |
18 | + PRINTF(MAA_PARSE,("%s: Using GNU cpp from %s\n", __FUNCTION__, buf)); | |
19 | cpp = str_find( buf ); | |
20 | extra_options = "-nostdinc -nostdinc++"; | |
21 | } | |
22 | @@ -103,7 +103,7 @@ | |
23 | for (pt = cpps; **pt; pt++) { | |
24 | if (!access( *pt, X_OK )) { | |
25 | PRINTF(MAA_PARSE, | |
26 | - (__FUNCTION__ ": Using system cpp from %s\n",*pt)); | |
27 | + ("%s: Using system cpp from %s\n", __FUNCTION__, *pt)); | |
28 | cpp = *pt; | |
29 | break; | |
30 | } | |
31 | @@ -123,7 +123,7 @@ | |
32 | sprintf( buffer, "%s -I. %s %s 2>/dev/null", cpp, | |
33 | _prs_cpp_options ? _prs_cpp_options : "", filename ); | |
34 | ||
35 | - PRINTF(MAA_PARSE,(__FUNCTION__ ": %s\n",buffer)); | |
36 | + PRINTF(MAA_PARSE,("%s: %s\n", __FUNCTION__, buffer)); | |
37 | if (!(yyin = popen( buffer, "r" ))) | |
38 | err_fatal_errno( __FUNCTION__, | |
39 | "Cannot open \"%s\" for read\n", filename ); |