Skip to content

Commit

Permalink
remove check files and add new entry in chengelog.md file
Browse files Browse the repository at this point in the history
  • Loading branch information
ankushsonare1 committed Apr 18, 2024
1 parent 251a430 commit b97c618
Show file tree
Hide file tree
Showing 16 changed files with 8 additions and 6 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,12 @@ generated in the following situations:

### 1.2.3-dev

* [LRM, TRLC] Remove checks block in the `.check` files. This
means you don't need to have a separate check file, allowing you to
implement your checks in `.rsl` file.

* [TRLC] Remove deprecated feature in check files.

* [TRLC] The deprecated builtin function syntax `trlc:foo` has been
removed. You should now use `foo` instead.

Expand Down Expand Up @@ -67,6 +73,7 @@ generated in the following situations:
* [TRLC] Fix a bug in the verifier mistranslating existential
quantifiers. This could both lead to false alarms and missed bugs.


### 1.2.2

* [API] Add callbacks to the
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 0 additions & 3 deletions tests-system/simple/tracing
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,4 @@ LRM.Layout
LRM.File_Parsing_Order
LRM.Preamble
LRM.RSL_File
LRM.Check_File
LRM.Deprecated_Check_Files
LRM.Check_Block
LRM.TRLC_File
1 change: 0 additions & 1 deletion trlc/ast.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,6 @@ def is_visible(self, n_pkg):

def add_item(self, node):
# lobster-trace: LRM.RSL_File
# lobster-trace: LRM.Check_File
# lobster-trace: LRM.TRLC_File
assert isinstance(node, (Concrete_Type,
Check_Block,
Expand Down
3 changes: 1 addition & 2 deletions trlc/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -1807,10 +1807,9 @@ def parse_trlc_entry(self):
self.cu.add_item(self.parse_record_object_declaration())

def parse_preamble(self, kind):
assert kind in ("rsl", "check", "trlc")
assert kind in ("rsl", "trlc")
# lobster-trace: LRM.Layout
# lobster-trace: LRM.Preamble
# lobster-trace: LRM.Cannot_Declare_In_Check_File

# First, parse package indication, declaring the package if
# needed
Expand Down

0 comments on commit b97c618

Please sign in to comment.