Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
e3-require
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Anders Lindh Olsson
e3-require
Commits
03d1c875
Commit
03d1c875
authored
6 years ago
by
Dirk Zimoch
Browse files
Options
Downloads
Patches
Plain Diff
bugfix for empty variable assignment
parent
9811057b
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
expr.c
+1
-0
1 addition, 0 deletions
expr.c
testscript
+4
-0
4 additions, 0 deletions
testscript
with
5 additions
and
0 deletions
expr.c
+
1
−
0
View file @
03d1c875
...
@@ -218,6 +218,7 @@ size_t replaceExpressions(const char* r, char* buffer, size_t buffersize)
...
@@ -218,6 +218,7 @@ size_t replaceExpressions(const char* r, char* buffer, size_t buffersize)
char
*
w
=
buffer
;
char
*
w
=
buffer
;
char
*
s
;
char
*
s
;
*
w
=
0
;
while
(
*
r
)
while
(
*
r
)
{
{
s
=
w
;
s
=
w
;
...
...
This diff is collapsed.
Click to expand it.
testscript
+
4
−
0
View file @
03d1c875
...
@@ -87,3 +87,7 @@ x=-0bla -0.1
...
@@ -87,3 +87,7 @@ x=-0bla -0.1
x=-2**2 0-2**2 0+-2**2 0--2**2
x=-2**2 0-2**2 0+-2**2 0--2**2
# $(x) should be: 4 -4 4 -4
# $(x) should be: 4 -4 4 -4
x=
y=$(x)
# <$(x)><$(y)> should be: <><>
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