Dylan Thacker-Smith
bb954bce1e
Use StringSlice.join on the rendered results.
2014-02-28 14:12:57 -05:00
Dylan Thacker-Smith
cc0276bb97
Add a StringSlice class to use in the nodelist.
2014-02-28 13:16:07 -05:00
Dylan Thacker-Smith
03d586aafe
Add convenience methods for getting a struct from a ruby object.
...
If we are trying to get the struct from something other than self, then we
should make sure to check the class of the object. This util functions
make this easier.
2014-02-28 10:08:55 -05:00
Dylan Thacker-Smith
dc8a34a52f
Implement Block#parse_body in C.
2014-02-28 07:47:36 -05:00
Dylan Thacker-Smith
06bef40527
Fix a missing return warning.
2014-02-27 18:47:55 -05:00
Dylan Thacker-Smith
a48b245e6e
Turn on C compiler warnings.
2014-02-27 18:45:57 -05:00
Dylan Thacker-Smith
d4aabda625
Avoid freeing of uninitialized memory.
...
Thanks to Isha for pointing this out.
2014-02-27 18:32:19 -05:00
Dylan Thacker-Smith
8c075fca1f
Remove a couple FIXME comments which are only partially a lie.
...
I added those comments before creating an invalid token type to return the
error. However, we still aren't making use of the token type.
2014-02-27 15:21:57 -05:00
Dylan Thacker-Smith
ea8406e36e
Create a Liquid::Tokenizer class in the C extension.
2014-02-27 15:20:22 -05:00
Dylan Thacker-Smith
2066676bf4
Add a C extension that doesn't yet do anything.
2014-02-27 09:58:33 -05:00