PageRenderTime 17ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/test/macro/ok/syntax.txt

http://txt2tags.googlecode.com/
Plain Text | 46 lines | 37 code | 9 blank | 0 comment | 0 complexity | 5e09241e31f5d8dc8c8d6bbd9e4da44a MD5 | raw file
 1
 2
 3BODYINIT
 4
 5Syntax: Macro without formatting string
 6Date    : @DATE@ - @DATE@
 7Mtime   : @MTIME@ - @MTIME@
 8Infile  : syntax.t2t - syntax.t2t
 9Currentfile : syntax.t2t - syntax.t2t
10Outfile : syntax.txt - syntax.txt
11
12Syntax: Macro name is case insensitive
13Date    : @DATE@
14Mtime   : @MTIME@
15Infile  : syntax.t2t
16Currentfile : syntax.t2t
17Outfile : syntax.txt
18
19Syntax: Macro with formatting string
20Date    : txt 20 txt
21Mtime   : txt 20 txt
22Infile  : txt t2t txt
23Currentfile : txt t2t txt
24Outfile : txt txt txt
25
26Syntax: Leading and trailing spaces are preserved
27Date    : ( txt ) - ( 20 )
28Mtime   : ( txt ) - ( 20 )
29Infile  : ( txt ) - ( t2t )
30Currentfile : ( txt ) - ( t2t )
31Outfile : ( txt ) - ( txt )
32
33Test: Expansion of the percent char
34Date    : % - % - %% - %%
35Mtime   : % - % - %% - %%
36Infile  : % - % - %% - %%
37Currentfile : % - % - %% - %%
38Outfile : % - % - %% - %%
39
40Test: Various per line, glued
41Date    : 20@DATE@@DATE@
42Mtime   : 20@MTIME@@MTIME@
43Infile  : t2tsyntax.t2tsyntax.t2t
44Currentfile : t2tsyntax.t2tsyntax.t2t
45Outfile : txtsyntax.txtsyntax.txt
46