compiler, runtime, common: (Initial) Support For extern Declarations
Especially FFI Signed-off-by: Will Hawkins <hawkinsw@obs.cr>
This commit is contained in:
@@ -98,7 +98,7 @@ import P4Lang
|
||||
#RequireErrorResult<(EvaluatableStatement, CompilerContext)>(
|
||||
Error(withMessage: "{2, 154}: Did not find assignment statement"),
|
||||
ParserAssignmentStatement.Compile( // Note: Calling ParserAssignmentStatement compilation directly.
|
||||
node: result.rootNode!, withContext: CompilerContext(withInstances: VarTypeScopes()))))
|
||||
node: result.rootNode!, withContext: CompilerContext())))
|
||||
}
|
||||
|
||||
@Test func test_simple_compiler_parser_with_parameters() async throws {
|
||||
|
||||
Reference in New Issue
Block a user