Skip to content

Commit

Permalink
Parser
Browse files Browse the repository at this point in the history
- h
  • Loading branch information
deavmi committed May 21, 2024
1 parent 926e869 commit 7229019
Showing 1 changed file with 9 additions and 11 deletions.
20 changes: 9 additions & 11 deletions source/tlang/compiler/parsing/core.d
Original file line number Diff line number Diff line change
Expand Up @@ -2244,29 +2244,27 @@ public final class Parser

/**
* Handles cases where we start
* with the `*` token. This could
* include `*ptr = ...` or, perhaps,
* a function call with `*n.n()`
* with the `*` token.
*
* FIXME: Last one sounds stupid
* asf
* This would essentially
* only ever be for pointer
* dereferences in assignment
* form
*
* Returns: a `Statement`
*/
private Statement parseStar()
{
WARN("parseStar(): Enter");

Statement stmt = parseDerefAssignment();




WARN("parseStar(): Leave");
return stmt;
}


/**
* Parses a pointer dereference
* Returns:
*/
private Statement parseDerefAssignment()
{
WARN("parseDerefAssignment(): Enter");
Expand Down

0 comments on commit 7229019

Please sign in to comment.