Originally, if source file contains a line that starts with /* and ends with */, SourceFile.py would detect the starting part only and set in_comment as True, subsequently treating all following codes as comments until it meets another */ in a new pair of /**/.
Originally, if source file contains a line that starts with
/*
and ends with*/
,SourceFile.py
would detect the starting part only and setin_comment
asTrue
, subsequently treating all following codes as comments until it meets another*/
in a new pair of/*
*/
.