From 524bc3960e6a6e5645ce904e20f72479e24e0a23 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 11 Jun 2018 05:10:19 +0600 Subject: improved Emscripten support: fixed configure-checks, generate *.js and detect EMCurses * Emscripten can be used (theoretically) to build a host-only platform-independant version of SciTECO (running under node.js instead of the browser). * I ported netbsd-curses with Emscripten for that purpose. Therefore, adaptions for running in the browser are restricted to EMcurses now. --- src/parser.h | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) (limited to 'src/parser.h') diff --git a/src/parser.h b/src/parser.h index f61d335..9255268 100644 --- a/src/parser.h +++ b/src/parser.h @@ -149,13 +149,7 @@ protected: MicroState state; -#ifdef EMSCRIPTEN - /* FIXME: Shouldn't be required! */ - __attribute__((noinline)) -#else - inline -#endif - void + inline void set(MicroState next) { if (next != state) -- cgit v1.2.3