You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I parse the statements with comments. I saw something strange.
In my opinion, the inline comment belong to the code of the same line code.
but I see it is belong to the next line code now, after I tested for several times.
<?phpfunctioncommentLine() {
$i=0;//this comment should belong to "$i=0", but it is "$i=1";$i=1;
//this comment belong to below statement$i=2;
//this comment belong to an Nop
}
The text was updated successfully, but these errors were encountered:
When I parse the statements with comments. I saw something strange.
In my opinion, the inline comment belong to the code of the same line code.
but I see it is belong to the next line code now, after I tested for several times.
Here is the codes.
But when i got the parsed ast, I noticed the comment belong to the next line of "$i=1":
Here are the diffrent examples.
The text was updated successfully, but these errors were encountered: