diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2018-06-11 05:10:19 +0600 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2018-06-11 05:10:19 +0600 |
commit | 524bc3960e6a6e5645ce904e20f72479e24e0a23 (patch) | |
tree | 4147b687b1de89d41a2bd2a5fd02620a64e75a77 /src/parser.h | |
parent | df6c898e8e56886488951bc51967089003768b12 (diff) | |
download | sciteco-524bc3960e6a6e5645ce904e20f72479e24e0a23.tar.gz |
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.
Diffstat (limited to 'src/parser.h')
-rw-r--r-- | src/parser.h | 8 |
1 files changed, 1 insertions, 7 deletions
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) |