diff --git a/src/protocol/ast.rs b/src/protocol/ast.rs index 11be68c6ee6f77771ad26070ee6019a0be8c6bbb..87ea2bb9e079afc72d907ac79c37d0a0b9b90ad2 100644 --- a/src/protocol/ast.rs +++ b/src/protocol/ast.rs @@ -1086,6 +1086,7 @@ pub enum ProcedureSource { FuncSelectWait, // Builtin components, available to user CompRandomU32, // TODO: Remove, temporary thing + CompTcpClient, } impl ProcedureSource { @@ -1852,6 +1853,7 @@ pub enum Method { SelectWait, // SelectWait() -> u32 // Builtin component, ComponentRandomU32, + ComponentTcpClient, // User-defined UserFunction, UserComponent, @@ -1862,7 +1864,7 @@ impl Method { use Method::*; match self { Get | Put | Fires | Create | Length | Assert | Print => true, - ComponentRandomU32 => true, + ComponentRandomU32 | ComponentTcpClient => true, _ => false, } }