init
This commit is contained in:
9
bml/test/syntax-errors/_config.bml
Executable file
9
bml/test/syntax-errors/_config.bml
Executable file
@@ -0,0 +1,9 @@
|
||||
LookRoot $testlookroot
|
||||
DefaultScheme scheme
|
||||
DefaultLanguage en
|
||||
|
||||
AllowOldSyntax 0
|
||||
AllowCode 1
|
||||
AllowTemplateCode 1
|
||||
|
||||
|
||||
1
bml/test/syntax-errors/dangling-tagopen.bml
Executable file
1
bml/test/syntax-errors/dangling-tagopen.bml
Executable file
@@ -0,0 +1 @@
|
||||
<? Some stuff
|
||||
1
bml/test/syntax-errors/dangling-tagopen.correct
Executable file
1
bml/test/syntax-errors/dangling-tagopen.correct
Executable file
@@ -0,0 +1 @@
|
||||
<? Some stuff
|
||||
2
bml/test/syntax-errors/no-close.bml
Executable file
2
bml/test/syntax-errors/no-close.bml
Executable file
@@ -0,0 +1,2 @@
|
||||
Tag vs Tga:
|
||||
<?tag Foo tga?>
|
||||
2
bml/test/syntax-errors/no-close.correct
Executable file
2
bml/test/syntax-errors/no-close.correct
Executable file
@@ -0,0 +1,2 @@
|
||||
Tag vs Tga:
|
||||
[Error: <b>BML block 'TAG' has no close</b>]
|
||||
7
bml/test/syntax-errors/onlyopen.bml
Executable file
7
bml/test/syntax-errors/onlyopen.bml
Executable file
@@ -0,0 +1,7 @@
|
||||
<?tag
|
||||
|
||||
Some stuff
|
||||
|
||||
|
||||
?>
|
||||
|
||||
1
bml/test/syntax-errors/onlyopen.correct
Executable file
1
bml/test/syntax-errors/onlyopen.correct
Executable file
@@ -0,0 +1 @@
|
||||
[Error: <b>BML block 'TAG' has no close</b>]
|
||||
2
bml/test/syntax-errors/scheme.look
Executable file
2
bml/test/syntax-errors/scheme.look
Executable file
@@ -0,0 +1,2 @@
|
||||
tag=>{D}[Tag: %%DATA%%]
|
||||
|
||||
12
bml/test/syntax-errors/spaces.bml
Executable file
12
bml/test/syntax-errors/spaces.bml
Executable file
@@ -0,0 +1,12 @@
|
||||
Tag with spurious space:
|
||||
<?tag Foo t ag?>
|
||||
|
||||
Tag with leading padding:
|
||||
<? tag Foo tag?>
|
||||
|
||||
Tag with padding on both sides:
|
||||
<? tag Foo tag ?>
|
||||
|
||||
Tag with trailing padding:
|
||||
<?tag Foo tag ?>
|
||||
|
||||
11
bml/test/syntax-errors/spaces.correct
Executable file
11
bml/test/syntax-errors/spaces.correct
Executable file
@@ -0,0 +1,11 @@
|
||||
Tag with spurious space:
|
||||
[Tag: Foo t ag?>
|
||||
|
||||
Tag with leading padding:
|
||||
<? tag Foo]
|
||||
|
||||
Tag with padding on both sides:
|
||||
<? tag Foo tag ?>
|
||||
|
||||
Tag with trailing padding:
|
||||
[Error: <b>BML block 'TAG' has no close</b>]
|
||||
Reference in New Issue
Block a user