mupp 1.1.0
Loading...
Searching...
No Matches
PVarHandler.cpp File Reference
#include <iostream>
#include <fstream>
#include <cstdlib>
#include <string>
#include "PVarHandler.h"
#include "PSkipper.hpp"
#include "PErrorHandler.hpp"
#include "PStatement.hpp"
#include "PStatementDef.hpp"
#include "PProgram.hpp"
#include <boost/spirit/home/x3.hpp>
Include dependency graph for PVarHandler.cpp:

Go to the source code of this file.

Functions

static void mupp_writeErrLog (const std::string &msg)
 Appends an error message to ~/.musrfit/mupp/mupp_err.log and stderr.
 

Function Documentation

◆ mupp_writeErrLog()

static void mupp_writeErrLog ( const std::string & msg)
static

Appends an error message to ~/.musrfit/mupp/mupp_err.log and stderr.

The mupp callers (GUI and script) read this log on failure, so the Python path writes to the same place as the Spirit X3 path.

Parameters
msgthe message to log

Definition at line 67 of file PVarHandler.cpp.