Fixed some mem things, found an odd parsing bug where a // comment before a function definition at top level does not parse. Deferring for now.

This commit is contained in:
Nathan Braswell
2014-07-20 20:42:26 -07:00
parent 93a170408f
commit eae538907d
3 changed files with 23 additions and 11 deletions

View File

@@ -7,10 +7,6 @@ type = type WS "\*" | "void" | "int" | "float" | "double" | "char" | identifier
template_inst = "<" WS type_list WS ">" ;
type_list = type_list WS "," WS type | type ;
#What does that even mean?
#some
#
#
template_dec = "template" WS "<" WS template_param_list WS ">" ;
template_param_list = template_param_list WS "," WS template_param | template_param ;
template_param = identifier WS traits | identifier ;