diff --git a/src/lexer/SolsToken.h b/src/lexer/SolsToken.h index 636ae59..e7248b1 100644 --- a/src/lexer/SolsToken.h +++ b/src/lexer/SolsToken.h @@ -38,6 +38,9 @@ Result(SolsToken, charptr); // Creates a SolsToken. If the type passed in is STT_LITERAL, STT_TYPE, STT_IDENTIFIER or // STT_KW_GROUND, the function expects another argument, corresponding to the data type // the token holds. See the SolsToken struct for more information. +// Returns: +// Success: The created SolsToken +// Failure: char* detailing what went wrong (usually memory failure) ResultType(SolsToken, charptr) createSolsToken(SolsTokenType type, ...); // Frees a SolsToken, specifically the .as field elements.