compiler, runtime: Refactor P4DataType to P4Type
Now that the old P4Type is a P4QualifiedType, it makes sense to rename the data type back to just type. Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -32,7 +32,7 @@ let p4_program_with_struct_decl = """
|
||||
"""
|
||||
|
||||
// snippet.include
|
||||
let flter = { (tipe: P4DataType) -> Bool in
|
||||
let flter = { (tipe: P4Type) -> Bool in
|
||||
switch tipe {
|
||||
case let c as P4Struct: c.name == "agg"
|
||||
default: false
|
||||
|
||||
Reference in New Issue
Block a user