Fixed bug with inline comments for variables not parsing correctly.
This commit is contained in:
1 parent
c1ab233686
commit
212d907d73
7 files changed
+253
-252
No files matched your search
@@ -3655,7 +3655,6 @@ CodeVar parse_variable_after_name(
|
||||
eat( TokType::Statement_End );
|
||||
|
||||
// Check for inline comment : <type> <identifier> = <expression>; // <inline comment>
|
||||
CodeComment inline_cmt = NoCode;
|
||||
if ( left && ( currtok_noskip.Type == TokType::Comment ) && currtok_noskip.Line == stmt_end.Line )
|
||||
{
|
||||
inline_cmt = parse_comment();
|
||||
|
||||
Reference in new issue
Block a user