Refactored NumberUnit and FunctionDefinition. Added OctalNumber. Fixed number followed by identifier with no whitespace.

This commit is contained in:
Matheus Aguiar
2023-03-24 16:19:33 -03:00
parent 2ca349c69a
commit 0158de60be
11 changed files with 75 additions and 6 deletions
@@ -0,0 +1,3 @@
function fallback() {}
// ----
// Warning 3445: (9-17): This function is named "fallback" but is not the fallback function of the contract. If you intend this to be a fallback function, use "fallback(...) { ... }" without the "function" keyword to define it.
@@ -0,0 +1,3 @@
function receive() {}
// ----
// Warning 3445: (9-16): This function is named "receive" but is not the receive function of the contract. If you intend this to be a receive function, use "receive(...) { ... }" without the "function" keyword to define it.