SdlLexer.readLineComment

private SdlToken readLineComment(SdlTokenKind kind) @safe

Reads a line comment up to (not including) the newline.

Parameters

kindThe comment token kind to produce

Returns

The comment token.