PLC-lang / rusty

Structured Text Parser and LLVM Frontend
GNU Lesser General Public License v3.0
223 stars 53 forks source link

feat: allow `VAR_EXTERNAL` declarations #1324

Closed mhasel closed 1 month ago

mhasel commented 1 month ago

Adds a new variable block type for VAR_EXTERNAL to the compiler. These blocks do not have any functionality for now and the compiler will emit a warning when such blocks are declared.

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 96.77419% with 2 lines in your changes missing coverage. Please review.

Project coverage is 91.42%. Comparing base (be78df6) to head (0e46463). Report is 108 commits behind head on master.

Files with missing lines Patch % Lines
compiler/plc_ast/src/ast.rs 0.00% 1 Missing :warning:
src/index.rs 95.23% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #1324 +/- ## ========================================== + Coverage 91.11% 91.42% +0.30% ========================================== Files 153 160 +7 Lines 44816 49497 +4681 ========================================== + Hits 40833 45251 +4418 - Misses 3983 4246 +263 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.