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:
parent
459638c2b9
commit
d3aedb5506
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue