OSDN Git Service

Make two list-processing functions do nothing with an empty list.
authorCarl Worth <cworth@cworth.org>
Thu, 27 May 2010 18:55:36 +0000 (11:55 -0700)
committerCarl Worth <cworth@cworth.org>
Thu, 27 May 2010 18:55:36 +0000 (11:55 -0700)
commita65cf7b1d29e98ef3bf31051df8a06cb394d131f
tree114b63644453263f82b5b537d3d8689bde663fba
parentdd7490093d84ce74a99922c3544b51c3f5d43345
Make two list-processing functions do nothing with an empty list.

This just makes these functions easier to understand all around.  In
the case of _token_list_append_list this is an actual bug fix, (where
append an empty list onto a non-empty list would previously scramble
the tail pointer of the original list).
glcpp-parse.y