diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-25 11:18:34 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-11-25 11:18:34 +0200 |
commit | 28f8338ded34f160e0083da9be4679bc778be7ca (patch) | |
tree | 7bd01311683d835f946c73d7d8220f552bae718f /unit-tests/test/script/lexer | |
parent | f32bb0aceb00cfa4bd04eea72f8fa2fe02b738b3 (diff) |
Distinguish token quoting type and completeness
Diffstat (limited to 'unit-tests/test/script/lexer')
-rw-r--r-- | unit-tests/test/script/lexer/comment.test | 113 |
1 files changed, 0 insertions, 113 deletions
diff --git a/unit-tests/test/script/lexer/comment.test b/unit-tests/test/script/lexer/comment.test deleted file mode 100644 index 0092ed9..0000000 --- a/unit-tests/test/script/lexer/comment.test +++ /dev/null @@ -1,113 +0,0 @@ -# @@ This one should be moved to build2/lexer since we use base lexer -# functionality as is. -# -test.arguments += script-line - -# Single-line comments. - -$* <<EOI >>:EOO # single-only -# comment -EOI -EOO - -$* <<EOI >>EOO # single-first -# comment -foo -EOI -'foo' -<newline> -EOO - -$* <<EOI >>EOO # single-last -foo -# comment -EOI -'foo' -<newline> -EOO - -$* <<EOI >>EOO # single-few -foo -# comment -# comment -EOI -'foo' -<newline> -EOO - -$* <<EOI >>EOO # single-cont -foo -# comment\\ -bar -EOI -'foo' -<newline> -'bar' -<newline> -EOO - -$* <<EOI >>EOO # single-same -foo # comment -bar # comment -EOI -'foo' -<newline> -'bar' -<newline> -EOO - -# Multi-line comments. -# - -$* <<EOI >>:EOO # multi-only -#\\ -comment -comment -#\\ -EOI -EOO - -$* <<EOI >>:EOO # multi-empty -#\\ -#\\ -EOI -EOO - -$* <<EOI >>EOO # multi-start-same -foo #\\ -comment -comment -#\\ -EOI -'foo' -<newline> -EOO - -$* <<EOI >>EOO # multi-end-same -#\\ -comment -comment -foo #\\ -bar -EOI -'bar' -<newline> -EOO - -$* <<EOI >>EOO # multi-end-not -#\\ -comment -#\\ not an end -foo #\\ -bar -EOI -'bar' -<newline> -EOO - -$* <<EOI 2>>EOE != 0 # multi-unterm -#\\ -comment -EOI -stdin:3:1: error: unterminated multi-line comment -EOE |