From 42f8b153095bc51811f871e40c7637f73d8e8a73 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Sj=C3=B6lund?= Date: Tue, 13 Feb 2018 10:37:40 +0100 Subject: [PATCH] Fix suffix for ZMQ --- Compiler/Main/Main.mo | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Compiler/Main/Main.mo b/Compiler/Main/Main.mo index ceba1f6f2b..2d21524d5b 100644 --- a/Compiler/Main/Main.mo +++ b/Compiler/Main/Main.mo @@ -683,8 +683,11 @@ end interactivemodeCorba; protected function interactivemodeZMQ "Initiate the interactive mode using ZMQ communication." input GlobalScript.SymbolTable symbolTable; +protected + String suffix; algorithm - serverLoopZMQ(true, ZeroMQ.initialize(Flags.getConfigString(Flags.ZEROMQ_FILE_SUFFIX)), symbolTable); + suffix := Flags.getConfigString(Flags.ZEROMQ_FILE_SUFFIX); + serverLoopZMQ(true, ZeroMQ.initialize(if suffix=="" then "" else ("."+suffix)), symbolTable); end interactivemodeZMQ; protected function serverLoopCorba