-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue 18 heredoc strings don't work in parameter list
- Loading branch information
1 parent
e1c0b9b
commit 5efce47
Showing
2 changed files
with
16 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -0,0 +1,14 @@ | |||
void main() { | |||
writeln(q"EOS | |||
This | |||
is a multi-line | |||
heredoc string | |||
EOS"); | |||
|
|||
enum a = "Not in heredoc"; | |||
|
|||
writeln(q"[ | |||
<!DOCTYPE html>]", 0x82); | |||
import std.stdio; | |||
|
|||
} |