mirror of
https://github.com/ton-blockchain/ton
synced 2025-03-09 15:40:10 +00:00
Add support for #pragma version
and FunC versioning
FunC pragma refined error messages and ^ partials
This commit is contained in:
parent
0e47c6c8e0
commit
0e955793ed
5 changed files with 197 additions and 4 deletions
|
@ -38,6 +38,8 @@ extern bool op_rewrite_comments;
|
|||
|
||||
constexpr int optimize_depth = 20;
|
||||
|
||||
const std::string func_version{"0.1.0"};
|
||||
|
||||
enum Keyword {
|
||||
_Eof = -1,
|
||||
_Ident = 0,
|
||||
|
@ -106,7 +108,8 @@ enum Keyword {
|
|||
_Operator,
|
||||
_Infix,
|
||||
_Infixl,
|
||||
_Infixr
|
||||
_Infixr,
|
||||
_PragmaHashtag
|
||||
};
|
||||
|
||||
void define_keywords();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue