Skip to content

Commit

Permalink
Fix to booleans
Browse files Browse the repository at this point in the history
  • Loading branch information
piercema committed Dec 20, 2024
1 parent 4412ac2 commit 756f476
Show file tree
Hide file tree
Showing 6 changed files with 119 additions and 86 deletions.
20 changes: 20 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Copyright 2024, Battelle Energy Alliance, LLC, ALL RIGHTS RESERVED
# Development Machine Files
.*.swp
*~
*.bak
*.DS_Store
.~lock.*#

# Parsnip/Zeek Output Files
*.svg
*cycles.txt
*.log
*.hlto

# Zeek Test Files
testing/.tmp/
testing/.btest.failed.dat

# Don't ignore baseline log files
!testing/baseline/*/*.log
6 changes: 3 additions & 3 deletions analyzer/omron_fins_types.spicy
Original file line number Diff line number Diff line change
Expand Up @@ -279,10 +279,10 @@ type DateTime = unit {
# FileNameRead: NoOfFiles
#
type NoOfFiles = unit {
var filesRead : uint64;
var lastFile : uint64;
var filesRead : uint16;
var lastFile : bool;
numOfFiles : bitfield(16) {
lastFile : 15;
lastFile : 15 &convert=cast<bool>($$);
noFilesRead : 0..14;
};

Expand Down
Loading

0 comments on commit 756f476

Please sign in to comment.