projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove duplicate assertion.
[cparser]
/
lexer.c
diff --git
a/lexer.c
b/lexer.c
index
daeda8a
..
8a339aa
100644
(file)
--- a/
lexer.c
+++ b/
lexer.c
@@
-324,8
+324,8
@@
finish_suffix:
}
obstack_1grow(&symbol_obstack, '\0');
}
obstack_1grow(&symbol_obstack, '\0');
- size_t
size = obstack_object_size(&symbol_obstack)
;
- char
*string = obstack_finish(&symbol_obstack);
+ size_t
size = obstack_object_size(&symbol_obstack) - 1
;
+ char *string = obstack_finish(&symbol_obstack);
lexer_token.number.suffix = identify_string(string, size);
}
lexer_token.number.suffix = identify_string(string, size);
}