This commit is contained in:
2019-02-06 00:49:12 +03:00
commit 8dbb1bb605
4796 changed files with 506072 additions and 0 deletions

9
bml/test/comments/_config.bml Executable file
View 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
View 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
View File

@@ -0,0 +1,18 @@
Comment:
Comment full:
Embedded:
Embedded full:
Multiline:

13
bml/test/comments/rendered.bml Executable file
View 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?>

View File

@@ -0,0 +1,11 @@
Single line:
Multiline:
Indirect:
(Indirect)

6
bml/test/comments/scheme.look Executable file
View File

@@ -0,0 +1,6 @@
user_comment=><?_c %%DATA%% _c?>
indirect<=
(Indirect)
<?user_comment %%DATA%% user_comment?>
<=indirect