DarkRadiant: defparser 33e7da46
| Author | Committer | Branch | Timestamp | Parent |
|---|---|---|---|---|
| greebo | greebo | defparser | 12.08.2022 18:43 | defparser c479e990 |
| Affected Issues | 0006031: Material Editor: allow to delete materials | |||
| Changeset | 0006031: Update the DeclarationFolderParser to use the DefBlockSyntaxParser to load the decl files. For that I had to write an iterator adapter supporting the peek() method needed for the specific DefBlockSyntaxTokeniserFunc implementation. Since std::istream has a peek() method we can expose that in a special iterator adapter. Pretty convoluted altogether, but the client code is looking nice. |
|||
| mod - libs/parser/DefBlockSyntaxParser.h | Diff File | |||
| mod - radiantcore/decl/DeclarationFolderParser.cpp | Diff File | |||
| mod - test/DefBlockSyntaxParser.cpp | Diff File | |||