1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-02-13 03:32:22 +00:00
ton/crypto/parser
Aleksandr Kirsanov 30572c77d6
[FunC] Support traditional // and /**/ comments
They work alongside Lisp-style ;; and {--}, without any #pragma.
Conceptually, a new syntax should be disabled by default
and activated using a special compiler option.
But now, we don't have an easy way to provide compiler options
in func-js, blueprint, etc.
Note, that introducing per-file #pragma is a wrong approach here,
since if we want to fire human-readable error on using '//' without pragma,
lexer should nevertheless work differently.
(this could be controlled by a launch option, but see above)
2024-06-14 15:22:57 +03:00
..
lexer.cpp [FunC] Support traditional // and /**/ comments 2024-06-14 15:22:57 +03:00
lexer.h [FunC] Support traditional // and /**/ comments 2024-06-14 15:22:57 +03:00
srcread.cpp updated vm 2020-03-11 14:19:31 +04:00
srcread.h Add pragmas to funC for precise control of computation order (#589) 2023-01-13 12:45:04 +03:00
symtable.cpp Fix FunC UB (#656) 2023-04-03 10:13:39 +03:00
symtable.h Fix FunC UB (#656) 2023-04-03 10:13:39 +03:00