- In `parseFuncDef()` we have removed commented out code which was, as mentioned in the last commit, incorrect code that expected old type code for pointer handling
This commit is contained in:
Tristan B. Velloza Kildaire 2023-04-17 16:31:53 +02:00
parent 4919e611d6
commit b141b0f49c
1 changed files with 0 additions and 8 deletions

View File

@ -910,14 +910,6 @@ public final class Parser
TypedEntity bogusEntity = parseTypedDeclaration(false, false, false, true);
string type = bogusEntity.getType();
// /* If it is a star `*` */
// while(getSymbolType(getCurrentToken()) == SymbolType.STAR)
// {
// // Make type a pointer
// type = type~"*";
// nextToken();
// }
/* Get the identifier (This CAN NOT be dotted) */
expect(SymbolType.IDENT_TYPE, getCurrentToken());
if(!isIdentifier_NoDot(getCurrentToken()))