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;