fixed wrong handling of a comment closer in the builtin compiler
This commit is contained in:
parent
d042f0f494
commit
9ae1b99b43
@ -111,7 +111,6 @@ sg addSemaphore: s1.
|
||||
(****
|
||||
class MyObject(Object)
|
||||
{
|
||||
|
||||
method(#class) main
|
||||
{
|
||||
| s |
|
||||
|
@ -941,9 +941,11 @@ static int skip_comment (moo_t* moo)
|
||||
|
||||
if (c == '*')
|
||||
{
|
||||
check_rparen:
|
||||
GET_CHAR_TO (moo, c);
|
||||
if (c == MOO_UCI_EOF) goto unterminated;
|
||||
|
||||
if (c == '*') goto check_rparen;
|
||||
if (c == ')')
|
||||
{
|
||||
GET_CHAR (moo); /* keep the first meaningful character in lxc */
|
||||
|
Loading…
x
Reference in New Issue
Block a user