Skip to content

Commit

Permalink
fix documentation generation
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Ricard authored and WebFreak001 committed Apr 9, 2024
1 parent f44d631 commit 92df030
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/dparse/lexer.d
Original file line number Diff line number Diff line change
Expand Up @@ -244,9 +244,9 @@ private immutable extraFieldsBare = q{
import std.conv : to;
import dparse.lexer : str;

sink.put("trivia!\"");
sink.put(`trivia!"`);
sink.put(str(type));
sink.put("\"(");
sink.put(`"(`);
sink.put("text: ");
sink.put([text].to!string[1 .. $ - 1]); // escape hack
sink.put(", index: ");
Expand Down

0 comments on commit 92df030

Please sign in to comment.