-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into issue-567-tlm-packet-cpp
- Loading branch information
Showing
16 changed files
with
528 additions
and
102 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
type TStructCycle = SSCycle | ||
|
||
struct SSCycle { | ||
F1: string | ||
F2: U32 | ||
F3: bool | ||
F4: TStructCycle | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fpp-check | ||
[ local path prefix ]/compiler/tools/fpp-check/test/cycle/alias.fpp:1.1 | ||
type TStructCycle = SSCycle | ||
^ | ||
error: encountered a use-def cycle: | ||
use SSCycle at [ local path prefix ]/compiler/tools/fpp-check/test/cycle/alias.fpp:1.21 refers to definition SSCycle at [ local path prefix ]/compiler/tools/fpp-check/test/cycle/alias.fpp:3.1 | ||
use TStructCycle at [ local path prefix ]/compiler/tools/fpp-check/test/cycle/alias.fpp:7.9 refers to definition TStructCycle at [ local path prefix ]/compiler/tools/fpp-check/test/cycle/alias.fpp:1.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
tests=" | ||
alias | ||
array | ||
constant_1 | ||
constant_2 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
enum E1T { | ||
E1 = 0 | ||
E2 = 1 | ||
E3 = 3 | ||
} | ||
|
||
struct SS { | ||
F1: string | ||
F2: U32 | ||
F3: bool | ||
} | ||
|
||
type TU = U32 | ||
type TS = string size 20 | ||
type TE = E1T | ||
type TB = bool | ||
type TStruct = SS | ||
|
||
constant B = false | ||
|
||
array A1 = [2] TB default [B, B] | ||
array A2 = [2] TE default [E1T.E1, E1T.E2] | ||
array A3 = [2] TU default [1, 2] | ||
array A4 = [2] TS default ["1", "2"] | ||
array A5 = [2] TStruct default [{ | ||
F1 = "test", | ||
F2 = 1, | ||
F3 = false, | ||
}, { | ||
F1 = "test2", | ||
F2 = 2, | ||
F3 = true, | ||
}] |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
tests=" | ||
alias_type_ok | ||
string_size_negative | ||
string_size_not_numeric | ||
string_size_too_large | ||
|
Oops, something went wrong.