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:11:51 +0200
commit7ff2b7d587b1b91dffdc16bff33fd1da56e2ab8b (patch)
tree5c4d4cb25440d269625c86107ed4778bdb5b95bd /src/parser.c
parentcc74a003e3f1ac659d84737e3501e60557562a7f (diff)
downloadmate-calc-7ff2b7d587b1b91dffdc16bff33fd1da56e2ab8b.tar.bz2
mate-calc-7ff2b7d587b1b91dffdc16bff33fd1da56e2ab8b.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 633bc2f..b8cc98f 100644
--- a/src/parser.c
+++ b/src/parser.c
@@ -1050,7 +1050,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)