@@ -249,13 +249,13 @@ static inline bool is_space(char c) { return is(c, tag_space); }
249/////////////////////////////////////////////////////////////////////
249/////////////////////////////////////////////////////////////////////
250// PARSER COMBINATORS
250// PARSER COMBINATORS
252−char static inline peekAt(document* d, int i) { return d->cursor[i]; }
252+static inline char peekAt(document* d, int i) { return d->cursor[i]; }
253−void static inline skip(document* d, int i) { d->cursor += i; }
253+static inline void skip(document* d, int i) { d->cursor += i; }
254−char static inline peek(document* d) { return peekAt(d, 0); }
254+static inline char peek(document* d) { return peekAt(d, 0); }
255−char static inline get(document* d) { char c = peek(d); skip(d, 1); return c; }
255+static inline char get(document* d) { char c = peek(d); skip(d, 1); return c; }
257// Remove whitespace characters from the cursor while they are still whitespace
257// Remove whitespace characters from the cursor while they are still whitespace
258−void static inline trim(document* d)
258+static inline void trim(document* d)
260 while (is_space(peek(d)))
260 while (is_space(peek(d)))
261 skip(d, 1);
261 skip(d, 1);
@@ -281,7 +281,7 @@ bool find(document* d, char c)
281/////////////////////////////////////////////////////////////////////
281/////////////////////////////////////////////////////////////////////
282// PARSING CODE
282// PARSING CODE
284−void static inline node_alloc(node_buffer* b, int ask)
284+static inline void node_alloc(node_buffer* b, int ask)
286 int space = b->size - b->used_back - b->used_front;
286 int space = b->size - b->used_back - b->used_front;
287 if (space >= ask) return;
287 if (space >= ask) return;
@@ -296,7 +296,7 @@ void static inline node_alloc(node_buffer* b, int ask)
296 b->alloc = buf2;
296 b->alloc = buf2;
299−void static inline attr_alloc(attr_buffer* b, int ask)
299+static inline void attr_alloc(attr_buffer* b, int ask)
301 int space = b->size - b->used;
301 int space = b->size - b->used;
302 if (space >= ask) return;
302 if (space >= ask) return;