mirror of https://github.com/tbklang/tlang.git
Parser
- 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:
parent
4919e611d6
commit
b141b0f49c
|
@ -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()))
|
||||
|
|
Loading…
Reference in New Issue