Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gnumeric
Commits
24886ed3
Commit
24886ed3
authored
Aug 07, 1998
by
Arturo Espinosa
Browse files
More exciting work!
parent
119593eb
Changes
5
Hide whitespace changes
Inline
Side-by-side
ChangeLog-1999-07-09
View file @
24886ed3
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
cells.
(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>
* src/parser.y (yylex): Bug fix: allocate the string.
* src/sheet.c (CRowSort): Sort in the other direction my list of
cells.
(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>
* src/parser.y (yylex): Bug fix: allocate the string.
* src/sheet.c (CRowSort): Sort in the other direction my list of
cells.
(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>
* src/parser.y (yylex): Bug fix: allocate the string.
* src/sheet.c (CRowSort): Sort in the other direction my list of
cells.
(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;
;
exp: NUMBER { $$ = $1 }
| STRING { $$ = $1 }
| CELLREF { $$ = $1 }
| CONSTANT { $$ = $1 }
| exp '+' exp {
...
...
@@ -394,7 +395,8 @@ int yylex (void)
return NUMBER;
}
case '"': {
char *string;
char *string, *s;
int v;
p = parser_expr;
while(*parser_expr && *parser_expr != '"') {
...
...
@@ -407,19 +409,20 @@ int yylex (void)
return ERROR;
}
string = (char *) alloca (1 + parser_expr - p);
s =
string = (char *) alloca (1 + parser_expr - p);
while (p != parser_expr){
if (*p== '\\'){
p++;
*s
tring
++ = *p++;
*s++ = *p++;
} else
*s
tring
++ = *p++;
*s++ = *p++;
}
*s
tring
= 0;
*s = 0;
parser_expr++;
return return_symbol (string);
v = return_symbol (string);
return v;
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment