Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
cs1-24fa
minimathematica
Commits
a094cfe6
Commit
a094cfe6
authored
6 months ago
by
Adam Blank
Browse files
Options
Download
Email Patches
Plain Diff
fix parsing error
parent
93edccad
master
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
support/parsing.py
+1
-1
support/parsing.py
with
1 addition
and
1 deletion
+1
-1
support/parsing.py
View file @
a094cfe6
...
...
@@ -143,7 +143,7 @@ def parse_e4(tokens):
elif
tokens
[
0
].
token_type
==
TokenType
.
T_MINUS
:
tokens
.
pop
(
0
)
node
=
Node
(
TokenType
.
T_MINUS
)
node
.
children
=
[
parse_e
(
tokens
)]
node
.
children
=
[
parse_e
4
(
tokens
)]
return
node
match
(
tokens
,
TokenType
.
T_LPAR
)
expression
=
parse_e
(
tokens
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help