repositories
/
Algorithmic_C.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
TP6: Add ABR and tree n
[Algorithmic_C.git]
/
TP3
/
macros.h
diff --git
a/TP3/macros.h
b/TP3/macros.h
index e8593188b842c267535193969d9528bc86dfd20c..a0ccdd24ae06511e2c0fd85a11f26fa56b701e5d 100644
(file)
--- a/
TP3/macros.h
+++ b/
TP3/macros.h
@@
-4,6
+4,6
@@
/* definition to expand macro then apply to pragma message */
#define VALUE_TO_STRING(x) #x
#define VALUE(x) VALUE_TO_STRING(x)
-#define VAR_NAME_VALUE(var) #var "="
VALUE(var)
+#define VAR_NAME_VALUE(var) #var "=" VALUE(var)
#endif /* MACROS_H */