From e17953560bda6a62d309882ead5e9cd9eadec3b2 Mon Sep 17 00:00:00 2001 From: ddanilyuk Date: Tue, 24 Nov 2020 10:18:58 +0200 Subject: [PATCH] lab6(2) --- clangCompiler/CMakeLists.txt | 2 +- clangCompiler/Testers.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/clangCompiler/CMakeLists.txt b/clangCompiler/CMakeLists.txt index 565c2c8..2b16912 100644 --- a/clangCompiler/CMakeLists.txt +++ b/clangCompiler/CMakeLists.txt @@ -11,7 +11,7 @@ target_sources(6-07-Swift-IV-82-Danyliuk PRIVATE Source/Parser.swift Source/Token.swift - Source/Nodes/FunctionDefinitionNode.swift + Source/Nodes/FunctionNode.swift Source/Nodes/NumberNode.swift Source/Nodes/ReturnNode.swift Source/Nodes/TernaryNode.swift diff --git a/clangCompiler/Testers.swift b/clangCompiler/Testers.swift index 5717576..7de59a4 100644 --- a/clangCompiler/Testers.swift +++ b/clangCompiler/Testers.swift @@ -524,7 +524,7 @@ int main() { int someValue = 22 | (2 * 4); someValue /= 3; - int result = someValue ? (2 | 10) : ((2.3 * 8) / 2); + int result = someValue ? (2 | (2 * (30 / 6))) : ((2.3 * 8) / 2); { result /= 5; return result | 4;