davidhq / SublimeEthereum

Ethereum Solidity, Vyper, Yul and StarkNet Cairo language syntaxes
MIT License
116 stars 43 forks source link

Highlighter fails on integer contstants #37

Closed eMarchenko closed 5 years ago

eMarchenko commented 5 years ago

scientific notation:

int256 public i1 = 1e10;
int256 public i2 = 1e-1 * 100;
int256 public i3 = 1e1 hours;
int256 public i4 = 123_000;
int256 public i5 = 1_2e345_678 / 1_2e345_677;

all cases have some issues.

Solidity documentation.

davidhq commented 5 years ago
screen shot 2019-02-28 at 20 42 45

is this ok? Will push the changes soon

eMarchenko commented 5 years ago

Yep, looks nice!

davidhq commented 5 years ago

published in v.1.1.11