Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
ion
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
ion
Commits
301f3a8c
Commit
301f3a8c
authored
7 years ago
by
Chris Overcash
Browse files
Options
Downloads
Patches
Plain Diff
cleanup comments
parent
40607941
No related branches found
Branches containing commit
No related tags found
1 merge request
!659
fix for issue #585
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/parser/arguments.rs
+1
-4
1 addition, 4 deletions
src/parser/arguments.rs
with
1 addition
and
4 deletions
src/parser/arguments.rs
+
1
−
4
View file @
301f3a8c
...
...
@@ -67,6 +67,7 @@ impl<'a> Iterator for ArgumentSplitter<'a> {
}
let
start
=
self
.read
;
// parenthesis level and array bracket level
let
(
mut
level
,
mut
alevel
)
=
(
0
,
0
);
let
mut
bytes
=
data
.iter
()
.cloned
()
.skip
(
self
.read
);
while
let
Some
(
character
)
=
bytes
.next
()
{
...
...
@@ -102,10 +103,6 @@ impl<'a> Iterator for ArgumentSplitter<'a> {
// Decrement the array level
b']'
=>
alevel
-=
1
,
b'('
=>
{
// If COMM_1 is enabled
// i.e., a '$' was found last
// Increment the parenthesis level.
// if VARIAB or ARRAY are set
// Disable VARIAB + ARRAY and enable METHOD.
if
self
.bitflags
.intersects
(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment