WIP: Actual struct support

Added TODO
This commit is contained in:
Tristan B. Kildaire 2021-05-31 17:51:16 +02:00
parent a1c6eb9c74
commit 8c7c4d038c
1 changed files with 10 additions and 0 deletions

View File

@ -322,6 +322,16 @@ public final class Parser
/* Get current token */
SymbolType symbolType = getSymbolType(getCurrentToken());
/** TODO:
* We only want to allow function definitions and variable
* declarations here (WIP: for now without assignments)
*
* parseAccessor() supports those BUT it will also allow classes
* and further structs - this we do not want and hence we should
* filter out those (raise an error) on checking the type of
* Entity returned by `parseAccessor()`
*/
/* If closing brace then exit */
if(symbolType == SymbolType.CCURLY)
{