1
1
mirror of https://github.com/rui314/mold.git synced 2024-09-17 16:09:43 +03:00

Add a comment

This commit is contained in:
Rui Ueyama 2022-07-25 17:02:42 +08:00
parent 92cbaada34
commit a6d9955a08

View File

@ -50,6 +50,9 @@ private:
std::vector<Token> tokens;
};
// A tokenizer for YAML. YAML represents blocks by indentation. This
// tokenizer inserts INDENT and DEDENT special tokens before and after
// each indented text block.
std::optional<YamlError> YamlParser::tokenize() {
std::vector<i64> indents = {0};