mirror of
https://github.com/marketideas/qasm.git
synced 2024-06-12 12:29:29 +00:00
libpal updates
This commit is contained in:
parent
a7b040e182
commit
e1f1f662df
|
@ -23,7 +23,7 @@ set(SOURCE
|
|||
)
|
||||
|
||||
#find_package(OpenSSL REQUIRED)
|
||||
find_package( Poco REQUIRED Foundation Util XML JSON )
|
||||
find_package( Poco REQUIRED Foundation Util XML JSON Net )
|
||||
|
||||
if ( ${CIDER} )
|
||||
find_package( ZLIB )
|
||||
|
|
3
asm.cpp
3
asm.cpp
|
@ -78,7 +78,8 @@ void CLASS::print(uint32_t lineno)
|
|||
nc = nc1;
|
||||
}
|
||||
|
||||
if ((!isatty(STDOUT_FILENO)) || (merlinerrors))
|
||||
//if ((!isatty(STDOUT_FILENO)) || (merlinerrors))
|
||||
if ((!isatty(STDOUT_FILENO)) || (0))
|
||||
{
|
||||
nc = true;
|
||||
}
|
||||
|
|
3
config.h
3
config.h
|
@ -6,9 +6,8 @@
|
|||
#define NO_SIGNAL_HANDLING
|
||||
|
||||
//#define SERVERAPP
|
||||
|
||||
//#define ENABLE_SSL
|
||||
//#define USE_LOGGER
|
||||
#define USE_LOGGER
|
||||
//#define USE_NET
|
||||
//#define USE_SSL
|
||||
//#define USE_JSON
|
||||
|
|
2
qasm.cpp
2
qasm.cpp
|
@ -45,6 +45,7 @@ void CLASS::displayVersion()
|
|||
|
||||
}
|
||||
|
||||
#ifdef SERVERAPP
|
||||
int CLASS::runServerApp(PAL_EVENTMANAGER *em)
|
||||
{
|
||||
int res = -1;
|
||||
|
@ -63,6 +64,7 @@ int CLASS::runServerApp(PAL_EVENTMANAGER *em)
|
|||
}
|
||||
return (res);
|
||||
}
|
||||
#endif
|
||||
|
||||
void CLASS::showerror(int ecode, std::string fname)
|
||||
{
|
||||
|
|
2
qasm.h
2
qasm.h
|
@ -19,7 +19,9 @@ class CLASS : public PAL_BASEAPP
|
|||
protected:
|
||||
void showerror(int ecode,std::string fname);
|
||||
virtual int runCommandLineApp(void);
|
||||
#ifdef SERVERAPP
|
||||
virtual int runServerApp(PAL_EVENTMANAGER *em);
|
||||
#endif
|
||||
virtual void displayVersion();
|
||||
|
||||
public:
|
||||
|
|
3
testdata/3002-testfile.S
vendored
3
testdata/3002-testfile.S
vendored
|
@ -1,4 +1,4 @@
|
|||
;lst off
|
||||
lst off
|
||||
xc off
|
||||
xc
|
||||
xc
|
||||
|
@ -15,7 +15,6 @@ immed = $123456
|
|||
neg equ -16
|
||||
|
||||
*]var1 = v1234
|
||||
|
||||
;lst off
|
||||
start00
|
||||
brk ;$00
|
||||
|
|
Loading…
Reference in New Issue
Block a user