Mercurial > hg > CbC > CbC_gcc
comparison gcc/gengtype-state.c @ 131:84e7813d76e9
gcc-8.2
author | mir3636 |
---|---|
date | Thu, 25 Oct 2018 07:37:49 +0900 |
parents | 04ced10e8804 |
children | 1830386684a0 |
comparison
equal
deleted
inserted
replaced
111:04ced10e8804 | 131:84e7813d76e9 |
---|---|
1 /* Gengtype persistent state serialization & de-serialization. | 1 /* Gengtype persistent state serialization & de-serialization. |
2 Useful for gengtype in plugin mode. | 2 Useful for gengtype in plugin mode. |
3 | 3 |
4 Copyright (C) 2010-2017 Free Software Foundation, Inc. | 4 Copyright (C) 2010-2018 Free Software Foundation, Inc. |
5 | 5 |
6 This file is part of GCC. | 6 This file is part of GCC. |
7 | 7 |
8 GCC is free software; you can redistribute it and/or modify it under | 8 GCC is free software; you can redistribute it and/or modify it under |
9 the terms of the GNU General Public License as published by the Free | 9 the terms of the GNU General Public License as published by the Free |
2204 (*current)->name = xstrdup (t0->stok_un.stok_string); | 2204 (*current)->name = xstrdup (t0->stok_un.stok_string); |
2205 } | 2205 } |
2206 next_state_tokens (1); | 2206 next_state_tokens (1); |
2207 read_state_type (&((*current)->type)); | 2207 read_state_type (&((*current)->type)); |
2208 read_state_fileloc (&((*current)->line)); | 2208 read_state_fileloc (&((*current)->line)); |
2209 read_state_options (&((*current)->opt));; | 2209 read_state_options (&((*current)->opt)); |
2210 t0 = peek_state_token (0); | 2210 t0 = peek_state_token (0); |
2211 if (state_token_kind (t0) == STOK_RIGHTPAR) | 2211 if (state_token_kind (t0) == STOK_RIGHTPAR) |
2212 { | 2212 { |
2213 next_state_tokens (1); | 2213 next_state_tokens (1); |
2214 } | 2214 } |