From 4f308829ad0e81a59971e172284c018cf2bdca3d Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 22 Mar 2019 20:48:40 +0100 Subject: Add mutex for lhs expr, add error for missing lhs expr for func, struct TODO: Use mutex in lhs expr and set resolved_type --- include/parser.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'include/parser.h') diff --git a/include/parser.h b/include/parser.h index 84d46bd..92e6d46 100644 --- a/include/parser.h +++ b/include/parser.h @@ -29,7 +29,8 @@ struct ParserThreadData { typedef enum { ERROR_CONTEXT_NONE, - ERROR_CONTEXT_RHS_START + ERROR_CONTEXT_RHS_STANDALONE, + ERROR_CONTEXT_NO_LHS } ErrorContext; struct Parser { -- cgit v1.2.3