aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/parser.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/parser.h')
-rw-r--r--src/parser.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/parser.h b/src/parser.h
index 0b139d9..b96e8d4 100644
--- a/src/parser.h
+++ b/src/parser.h
@@ -123,7 +123,13 @@ protected:
MicroState state;
- inline void
+#ifdef EMSCRIPTEN
+ /* FIXME: Shouldn't be required! */
+ __attribute__((noinline))
+#else
+ inline
+#endif
+ void
set(MicroState next)
{
if (next != state)