mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-09 20:12:21 +02:00
Fixed issue where we allowed multiple semicolons at end of if statements
This commit is contained in:
parent
76cb117e1f
commit
2c30afbfcf
4 changed files with 31 additions and 8 deletions
|
@ -3507,7 +3507,9 @@ BF_EXPORT const char* BF_CALLTYPE BfParser_GetDebugExpressionAt(BfParser* bfPars
|
|||
|
||||
if ((exprNode->IsA<BfMethodDeclaration>()) ||
|
||||
(exprNode->IsA<BfBlock>()) ||
|
||||
(exprNode->IsA<BfStatement>()))
|
||||
(exprNode->IsA<BfStatement>()) ||
|
||||
(exprNode->IsA<BfTokenNode>())
|
||||
)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue