summaryrefslogtreecommitdiff
path: root/src/parser.c
diff options
context:
space:
mode:
authormbkma <[email protected]>2020-06-21 01:48:25 +0200
committerraveit65 <[email protected]>2020-07-05 13:13:15 +0200
commit855ffc20ede48d357e56bfff23d9e97035080f4e (patch)
treeed13413735860e47edd8f1165017c01c89c00261 /src/parser.c
parent17b3c98a6ec21f935a7398a1da483738124aa77d (diff)
downloadmate-calc-855ffc20ede48d357e56bfff23d9e97035080f4e.tar.bz2
mate-calc-855ffc20ede48d357e56bfff23d9e97035080f4e.tar.xz
fixes incorrect parenthesis handling
reverts commit 731bdfe3591618759a44d9382b49952e781a01bd
Diffstat (limited to 'src/parser.c')
-rw-r--r--src/parser.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/parser.c b/src/parser.c
index b4f90fc..e49fb3a 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -1047,7 +1047,6 @@ variable(ParserState* state)
if(token->token_type == T_FUNCTION)
{
- state->depth_level++;
token_old = token;
token = l_get_next_token(state->lexer);
if(token->token_type == T_SUP_NUMBER)