mirror of
https://github.com/Zeal-Operating-System/ZealOS.git
synced 2025-01-08 05:36:31 +00:00
9 lines
479 B
Text
9 lines
479 B
Text
|
$HL,1$$WW,0$#define __DATE__ #exe{StreamPrint("\"%D\"",Now);}
|
||
|
#define __TIME__ #exe{StreamPrint("\"%T\"",Now);}
|
||
|
#define __LINE__ #exe{StreamPrint("%d",Fs->last_cc->lex_include_stk->line_num);}
|
||
|
#define __CMD_LINE__ #exe{StreamPrint("%d",Fs->last_cc->flags&CCF_CMD_LINE && Fs->last_cc->lex_include_stk->depth<1);}
|
||
|
#define __FILE__ #exe{StreamPrint("\"%s\"",Fs->last_cc->lex_include_stk->full_name);}
|
||
|
#define __DIR__ #exe{StreamDir;}
|
||
|
|
||
|
See $LK,"::/Demo/Directives.HC"$.$HL,0$$WW,1$
|