2024-03-16 16:25:48 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="generator" content="TempleOS V5.03">
|
|
|
|
<link rel="stylesheet" href="/style/templeos.css">
|
|
|
|
<script src="/script/templeos.js"></script>
|
|
|
|
<style type="text/css">
|
|
|
|
.cF0{color:#000000;background-color:#ffffff;}
|
|
|
|
.cF1{color:#0000aa;background-color:#ffffff;}
|
|
|
|
.cF2{color:#00aa00;background-color:#ffffff;}
|
|
|
|
.cF3{color:#00aaaa;background-color:#ffffff;}
|
|
|
|
.cF4{color:#aa0000;background-color:#ffffff;}
|
|
|
|
.cF5{color:#aa00aa;background-color:#ffffff;}
|
|
|
|
.cF6{color:#aa5500;background-color:#ffffff;}
|
|
|
|
.cF7{color:#aaaaaa;background-color:#ffffff;}
|
|
|
|
.cF8{color:#555555;background-color:#ffffff;}
|
|
|
|
.cF9{color:#5555ff;background-color:#ffffff;}
|
|
|
|
.cFA{color:#55ff55;background-color:#ffffff;}
|
|
|
|
.cFB{color:#55ffff;background-color:#ffffff;}
|
|
|
|
.cFC{color:#ff5555;background-color:#ffffff;}
|
|
|
|
.cFD{color:#ff55ff;background-color:#ffffff;}
|
|
|
|
.cFE{color:#ffff55;background-color:#ffffff;}
|
|
|
|
.cFF{color:#ffffff;background-color:#ffffff;}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
2024-03-23 13:40:50 +00:00
|
|
|
<pre style="font-family: courier, monospace; font-size: 10pt;">
|
2024-03-16 16:25:48 +00:00
|
|
|
<a name="l1"></a><span class=cF0>#</span><span class=cF1>define</span><span class=cF0> </span><span class=cF3>__DATE__</span><span class=cF0> #</span><span class=cF1>exe</span><span class=cF0>{</span><span class=cF5>StreamPrint</span><span class=cF0>(</span><span class=cF6>"\"%D\""</span><span class=cF0>,</span><span class=cF5>Now</span><span class=cF0>);}
|
|
|
|
<a name="l2"></a>#</span><span class=cF1>define</span><span class=cF0> </span><span class=cF3>__TIME__</span><span class=cF0> #</span><span class=cF1>exe</span><span class=cF0>{</span><span class=cF5>StreamPrint</span><span class=cF0>(</span><span class=cF6>"\"%T\""</span><span class=cF0>,</span><span class=cF5>Now</span><span class=cF0>);}
|
|
|
|
<a name="l3"></a>#</span><span class=cF1>define</span><span class=cF0> </span><span class=cF3>__LINE__</span><span class=cF0> #</span><span class=cF1>exe</span><span class=cF0>{</span><span class=cF5>StreamPrint</span><span class=cF0>(</span><span class=cF6>"%d"</span><span class=cF0>,</span><span class=cF5>Fs</span><span class=cF0>->last_cc->lex_include_stk->line_num);}
|
|
|
|
<a name="l4"></a>#</span><span class=cF1>define</span><span class=cF0> </span><span class=cF3>__CMD_LINE__</span><span class=cF0> #</span><span class=cF1>exe</span><span class=cF0>{</span><span class=cF5>StreamPrint</span><span class=cF0>(</span><span class=cF6>"%d"</span><span class=cF0>,</span><span class=cF5>Fs</span><span class=cF0>->last_cc->flags&</span><span class=cF3>CCF_CMD_LINE</span><span class=cF0> && </span><span class=cF5>Fs</span><span class=cF0>->last_cc->lex_include_stk->depth<1);}
|
|
|
|
<a name="l5"></a>#</span><span class=cF1>define</span><span class=cF0> </span><span class=cF3>__FILE__</span><span class=cF0> #</span><span class=cF1>exe</span><span class=cF0>{</span><span class=cF5>StreamPrint</span><span class=cF0>(</span><span class=cF6>"\"%s\""</span><span class=cF0>,</span><span class=cF5>Fs</span><span class=cF0>->last_cc->lex_include_stk->full_name);}
|
|
|
|
<a name="l6"></a>#</span><span class=cF1>define</span><span class=cF0> </span><span class=cF3>__DIR__</span><span class=cF0> #</span><span class=cF1>exe</span><span class=cF0>{</span><span class=cF5>StreamDir</span><span class=cF0>;}
|
|
|
|
<a name="l7"></a>
|
2024-03-23 13:40:50 +00:00
|
|
|
<a name="l8"></a>See </span><a href="/Wb/Demo/Directives.HC#l1"><span class=cF4>::/Demo/Directives.HC</span></a><span class=cF0>.
|
2024-03-16 16:25:48 +00:00
|
|
|
</span></pre></body>
|
|
|
|
</html>
|