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