Discard and warn against conflicting expression operators.

This commit is contained in:
Miguel Lechon
2021-09-09 12:21:03 +02:00
parent c6c790e50d
commit c0a50bfe27
3 changed files with 205 additions and 98 deletions
+2 -4
View File
@@ -719,11 +719,9 @@ struct MD_ExprOperatorTable
{
// TODO(mal): Something faster; arrays indexed by op kind or hash table...
MD_ExprOperatorList table[MD_ExprOperatorKind_COUNT];
MD_ExprOperator *call_op;
MD_ExprOperator *subscript_op;
MD_MessageList errors;
MD_ExprOperator *call_op; // TODO: Move elsewhere
MD_ExprOperator *subscript_op;
};
typedef struct MD_ExprNode MD_ExprNode;