I am following the truffle tutorial for creating a token. I get this error when trying to compile the contract.
ParserError: Expected identifier, got 'LParen'
constructor () public {
^
Here is the code for the contract
pragma solidity ^0.4.24;
import "node_modules/openzeppelin/solidity/contracts/token/ERC20/StandardToken.sol";
contract AirtimeToken is StandardToken {
string public name = "AirtimeToken";
string public symbol = "AirTK";
uint8 public decimals = 18;
uint public INITIAL_SUPPLY = 12000;
constructor () public {
totalSupply_ = INITIAL_SUPPLY;
balances[msg.sender] = INITIAL_SUPPLY;
}
}
I tried passing in the properties as params in the constructor and got the same error
UPDATE: link to StandardToken.sol
StandardToken.sol
too?