Portability: Updated to make main re-entrant()

- New INSTALL instructions to emscripten, and AUTHORS for contribution.
This commit is contained in:
Mark Scannell 2018-01-31 19:45:07 -05:00 committed by Paul Beckingham
parent cae3f06b7d
commit 7af6db4c17
112 changed files with 960 additions and 1147 deletions

View file

@ -33,8 +33,6 @@
#include <shared.h>
#include <format.h>
extern Context context;
////////////////////////////////////////////////////////////////////////////////
CmdGet::CmdGet ()
{
@ -60,7 +58,7 @@ CmdGet::CmdGet ()
int CmdGet::execute (std::string& output)
{
std::vector <std::string> results;
for (auto& arg : context.cli2._args)
for (auto& arg : Context::getContext ().cli2._args)
{
switch (arg._lextype)
{