| 740 | } |
| 741 | |
| 742 | void BfParser::AddErrorNode(int startIdx, int endIdx) |
| 743 | { |
| 744 | auto identifierNode = mAlloc->Alloc<BfIdentifierNode>(); |
| 745 | identifierNode->Init(mTriviaStart, startIdx, endIdx); |
| 746 | //identifierNode->mSource = this; |
| 747 | BfSource::AddErrorNode(identifierNode); |
| 748 | } |
| 749 | |
| 750 | BfCommentKind BfParser::GetCommentKind(int startIdx) |
| 751 | { |