eolian: consume the comment token in properties

This is to add syntax for later combined get/set property docs functionality.
This commit is contained in:
Daniel Kolesa 2014-08-06 12:38:40 +01:00
parent 459638c2b9
commit d3aedb5506
1 changed files with 5 additions and 0 deletions

View File

@ -1036,6 +1036,11 @@ body:
line = ls->line_number;
col = ls->column;
check_next(ls, '{');
if (ls->t.token == TOK_COMMENT)
{
/* just consume the comment for now */
eo_lexer_get(ls);
}
for (;;) switch (ls->t.kw)
{
case KW_get: