A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Avoid non-standard statement expressions.
[simgrid.git]
/
tools
/
smpi
/
generate_smpi_defines.pl
diff --git
a/tools/smpi/generate_smpi_defines.pl
b/tools/smpi/generate_smpi_defines.pl
index
fc0255b
..
fefb7d0
100755
(executable)
--- a/
tools/smpi/generate_smpi_defines.pl
+++ b/
tools/smpi/generate_smpi_defines.pl
@@
-42,7
+42,7
@@
sub output_macro {
print "#define ". uc($id) ." smpi_trace_set_call_location(__FILE__,__LINE__); call ". ucfirst $id ."\n";
}
else {
print "#define ". uc($id) ." smpi_trace_set_call_location(__FILE__,__LINE__); call ". ucfirst $id ."\n";
}
else {
- print "#define $id(...) (
{ smpi_trace_set_call_location(__FILE__,__LINE__); $id(__VA_ARGS__); }
)\n";
+ print "#define $id(...) (
smpi_trace_set_call_location(__FILE__, __LINE__), $id(__VA_ARGS__)
)\n";
}
}
}
}