From 77a1100e9523c395fd0a27cbc4d1fa5b93ba4351 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Sat, 9 Feb 2019 17:06:20 -0500 Subject: rearrange a bit --- src/nonstd/_PREDEF/__DATE__.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/nonstd/_PREDEF/__DATE__.c (limited to 'src/nonstd/_PREDEF/__DATE__.c') diff --git a/src/nonstd/_PREDEF/__DATE__.c b/src/nonstd/_PREDEF/__DATE__.c new file mode 100644 index 00000000..14e40fcb --- /dev/null +++ b/src/nonstd/_PREDEF/__DATE__.c @@ -0,0 +1,12 @@ +#define __DATE__ /** date of compilation **/ + +/*** +is automatically defined by the compiler as the date of program +compilation, in the format DEFINITION("Mmm dd yyyy"). +***/ + +/* +VALUE_TYPE(string literal) +VALUE_FIXED(VAR("date-of-compilation")) +STDC(1) +*/ -- cgit v1.2.1