single char const parsing fix
Status: Inactive
Brought to you by:
tim_littlefair
to fix single char const parsing in java.g
#token CHARCONST "'" << replstr("'.'"); mode(START); >>
#token CH_ANYTHING "~[']" << skip(); >>
#token ESCAPED_SQUOTE "\\'" <<skip(); >>//added M.H
#lexclass START
now, this parse corectly:
public class A {
String d = field.replace('\'',' ');
}
Logged In: YES
user_id=1066704
using cccc-3.pre84, i strongly agree