Skip to content

Commit 6722979

Browse files
committed
Fix typo in a lexer error message related to line directives.
1 parent a618c45 commit 6722979

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/source/dlexer.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,7 @@ struct DLexer {
678678
import std.format;
679679
return getError(
680680
t.location,
681-
format!"`%s` is not a valis line directive suffix."(
681+
format!"`%s` is not a valid line directive suffix."(
682682
t.toString(context))
683683
);
684684

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
//T error: line_directive_suffix.d:4:18:
2-
//T error: `suffix` is not a valis line directive suffix.
2+
//T error: `suffix` is not a valid line directive suffix.
33

44
#line 42 "file.d" suffix

0 commit comments

Comments
 (0)