aboutsummaryrefslogtreecommitdiff
path: root/testrelabelparser.lua
diff options
context:
space:
mode:
Diffstat (limited to 'testrelabelparser.lua')
-rw-r--r--testrelabelparser.lua14
1 files changed, 4 insertions, 10 deletions
diff --git a/testrelabelparser.lua b/testrelabelparser.lua
index 1c5bb9f..af13baf 100644
--- a/testrelabelparser.lua
+++ b/testrelabelparser.lua
@@ -374,12 +374,6 @@ L1:C13: expected a label after the comma
374 ^ 374 ^
375]]) 375]])
376 376
377testerror([[%{ a,,b,,c }]], [[
378L1:C6: expected a label after the comma
379%{ a,,b,,c }
380 ^
381]])
382
383-- testing ExpNameOrLab 377-- testing ExpNameOrLab
384 378
385testerror([[% s]], [[ 379testerror([[% s]], [[
@@ -477,9 +471,9 @@ L1:C8: missing closing '>'
477-- testing MisClose7 471-- testing MisClose7
478 472
479testerror([['{' %{ a, b '}']], [[ 473testerror([['{' %{ a, b '}']], [[
480L1:C12: missing closing '}' 474L1:C9: missing closing '}'
481'{' %{ a, b '}' 475'{' %{ a, b '}'
482 ^ 476 ^
483]]) 477]])
484 478
485-- testing MisClose8 479-- testing MisClose8
@@ -647,9 +641,9 @@ L1:C14: expected at least one label after '{'
647L1:C26: expected a pattern after '!' 641L1:C26: expected a pattern after '!'
648 A <- 'A' /{'lab'} B / ! 642 A <- 'A' /{'lab'} B / !
649 ^ 643 ^
650L3:C15: missing closing '}' 644L3:C11: missing closing '}'
651 B <- %{1, 2 3} 'b' / '6' & / 'B' 645 B <- %{1, 2 3} 'b' / '6' & / 'B'
652 ^ 646 ^
653L3:C29: expected a pattern after '&' 647L3:C29: expected a pattern after '&'
654 B <- %{1, 2 3} 'b' / '6' & / 'B' 648 B <- %{1, 2 3} 'b' / '6' & / 'B'
655 ^ 649 ^