init
This commit is contained in:
9
bml/test/comments/_config.bml
Executable file
9
bml/test/comments/_config.bml
Executable file
@@ -0,0 +1,9 @@
|
||||
LookRoot $testlookroot
|
||||
DefaultScheme scheme
|
||||
DefaultLanguage en
|
||||
|
||||
AllowOldSyntax 0
|
||||
AllowCode 1
|
||||
AllowTemplateCode 1
|
||||
|
||||
|
||||
22
bml/test/comments/basic.bml
Executable file
22
bml/test/comments/basic.bml
Executable file
@@ -0,0 +1,22 @@
|
||||
Comment:
|
||||
<?_c This shouldn't show up _c?>
|
||||
|
||||
Comment full:
|
||||
<?_comment This shouldn't show up _comment?>
|
||||
|
||||
Embedded:
|
||||
<?_c This shouldn't show up: <?_code something _code?> _c?>
|
||||
|
||||
Embedded full:
|
||||
<?_comment This shouldn't show up: <?_code something _code?> _comment?>
|
||||
|
||||
Multiline:
|
||||
<?_c
|
||||
|
||||
This shouldn't show up: <?_code something _code?>
|
||||
|
||||
_c?>
|
||||
|
||||
|
||||
|
||||
|
||||
18
bml/test/comments/basic.correct
Executable file
18
bml/test/comments/basic.correct
Executable file
@@ -0,0 +1,18 @@
|
||||
Comment:
|
||||
|
||||
|
||||
Comment full:
|
||||
|
||||
|
||||
Embedded:
|
||||
|
||||
|
||||
Embedded full:
|
||||
|
||||
|
||||
Multiline:
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
13
bml/test/comments/rendered.bml
Executable file
13
bml/test/comments/rendered.bml
Executable file
@@ -0,0 +1,13 @@
|
||||
Single line:
|
||||
<?user_comment This shouldn't be rendered user_comment?>
|
||||
|
||||
Multiline:
|
||||
<?user_comment
|
||||
|
||||
This is a comment, too, so it shouldn't be renderered.
|
||||
|
||||
user_comment?>
|
||||
|
||||
Indirect:
|
||||
<?indirect This shouldn't be rendered indirect?>
|
||||
|
||||
11
bml/test/comments/rendered.correct
Executable file
11
bml/test/comments/rendered.correct
Executable file
@@ -0,0 +1,11 @@
|
||||
Single line:
|
||||
|
||||
|
||||
Multiline:
|
||||
|
||||
|
||||
Indirect:
|
||||
(Indirect)
|
||||
|
||||
|
||||
|
||||
6
bml/test/comments/scheme.look
Executable file
6
bml/test/comments/scheme.look
Executable file
@@ -0,0 +1,6 @@
|
||||
user_comment=><?_c %%DATA%% _c?>
|
||||
indirect<=
|
||||
(Indirect)
|
||||
<?user_comment %%DATA%% user_comment?>
|
||||
<=indirect
|
||||
|
||||
Reference in New Issue
Block a user