mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Allow parsing for [^]T{} to improve error messages
This commit is contained in:
@@ -2526,6 +2526,9 @@ bool is_literal_type(Ast *node) {
|
|||||||
case Ast_BitSetType:
|
case Ast_BitSetType:
|
||||||
case Ast_CallExpr:
|
case Ast_CallExpr:
|
||||||
return true;
|
return true;
|
||||||
|
case Ast_MultiPointerType:
|
||||||
|
// For better error messages
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user