Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
gnumeric
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
375
Issues
375
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
GNOME
gnumeric
Commits
24886ed3
Commit
24886ed3
authored
Aug 07, 1998
by
Arturo Espinosa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More exciting work!
parent
119593eb
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
6 deletions
+17
-6
ChangeLog-1999-07-09
ChangeLog-1999-07-09
+2
-0
ChangeLog-2000-02-23
ChangeLog-2000-02-23
+2
-0
OChangeLog-1999-07-09
OChangeLog-1999-07-09
+2
-0
OChangeLog-2000-02-23
OChangeLog-2000-02-23
+2
-0
src/parser.y
src/parser.y
+9
-6
No files found.
ChangeLog-1999-07-09
View file @
24886ed3
1998-08-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
1998-08-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/parser.y (yylex): Bug fix: allocate the string.
* src/sheet.c (CRowSort): Sort in the other direction my list of
* src/sheet.c (CRowSort): Sort in the other direction my list of
cells.
cells.
(sheet_cell_foreach_range): Iterate over the lists with ->next,
(sheet_cell_foreach_range): Iterate over the lists with ->next,
...
...
ChangeLog-2000-02-23
View file @
24886ed3
1998-08-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
1998-08-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/parser.y (yylex): Bug fix: allocate the string.
* src/sheet.c (CRowSort): Sort in the other direction my list of
* src/sheet.c (CRowSort): Sort in the other direction my list of
cells.
cells.
(sheet_cell_foreach_range): Iterate over the lists with ->next,
(sheet_cell_foreach_range): Iterate over the lists with ->next,
...
...
OChangeLog-1999-07-09
View file @
24886ed3
1998-08-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
1998-08-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/parser.y (yylex): Bug fix: allocate the string.
* src/sheet.c (CRowSort): Sort in the other direction my list of
* src/sheet.c (CRowSort): Sort in the other direction my list of
cells.
cells.
(sheet_cell_foreach_range): Iterate over the lists with ->next,
(sheet_cell_foreach_range): Iterate over the lists with ->next,
...
...
OChangeLog-2000-02-23
View file @
24886ed3
1998-08-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
1998-08-06 Miguel de Icaza <miguel@nuclecu.unam.mx>
* src/parser.y (yylex): Bug fix: allocate the string.
* src/sheet.c (CRowSort): Sort in the other direction my list of
* src/sheet.c (CRowSort): Sort in the other direction my list of
cells.
cells.
(sheet_cell_foreach_range): Iterate over the lists with ->next,
(sheet_cell_foreach_range): Iterate over the lists with ->next,
...
...
src/parser.y
View file @
24886ed3
...
@@ -86,6 +86,7 @@ line: exp { parser_result = $1;
...
@@ -86,6 +86,7 @@ line: exp { parser_result = $1;
;
;
exp: NUMBER { $$ = $1 }
exp: NUMBER { $$ = $1 }
| STRING { $$ = $1 }
| CELLREF { $$ = $1 }
| CELLREF { $$ = $1 }
| CONSTANT { $$ = $1 }
| CONSTANT { $$ = $1 }
| exp '+' exp {
| exp '+' exp {
...
@@ -394,7 +395,8 @@ int yylex (void)
...
@@ -394,7 +395,8 @@ int yylex (void)
return NUMBER;
return NUMBER;
}
}
case '"': {
case '"': {
char *string;
char *string, *s;
int v;
p = parser_expr;
p = parser_expr;
while(*parser_expr && *parser_expr != '"') {
while(*parser_expr && *parser_expr != '"') {
...
@@ -407,19 +409,20 @@ int yylex (void)
...
@@ -407,19 +409,20 @@ int yylex (void)
return ERROR;
return ERROR;
}
}
string = (char *) alloca (1 + parser_expr - p);
s
= s
tring = (char *) alloca (1 + parser_expr - p);
while (p != parser_expr){
while (p != parser_expr){
if (*p== '\\'){
if (*p== '\\'){
p++;
p++;
*s
tring
++ = *p++;
*s++ = *p++;
} else
} else
*s
tring
++ = *p++;
*s++ = *p++;
}
}
*s
tring
= 0;
*s = 0;
parser_expr++;
parser_expr++;
return return_symbol (string);
v = return_symbol (string);
return v;
}
}
}
}
...
...
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