mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 07:38:48 +00:00
Trim whitespaces
This commit is contained in:
@@ -2168,7 +2168,7 @@ parse_inlining_operand :: proc(p: ^Parser, lhs: bool, tok: tokenizer.Token) -> ^
|
|||||||
}
|
}
|
||||||
|
|
||||||
switch e in &ast.unparen_expr(expr).derived {
|
switch e in &ast.unparen_expr(expr).derived {
|
||||||
case ast.Proc_Lit:
|
case ast.Proc_Lit:
|
||||||
if e.inlining != .None && e.inlining != pi {
|
if e.inlining != .None && e.inlining != pi {
|
||||||
error(p, expr.pos, "both 'inline' and 'no_inline' cannot be applied to a procedure literal")
|
error(p, expr.pos, "both 'inline' and 'no_inline' cannot be applied to a procedure literal")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user