Mercurial > hg > CbC > CbC_gcc
comparison libcpp/identifiers.c @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
comparison
equal
deleted
inserted
replaced
131:84e7813d76e9 | 145:1830386684a0 |
---|---|
1 /* Hash tables for the CPP library. | 1 /* Hash tables for the CPP library. |
2 Copyright (C) 1986-2018 Free Software Foundation, Inc. | 2 Copyright (C) 1986-2020 Free Software Foundation, Inc. |
3 Written by Per Bothner, 1994. | 3 Written by Per Bothner, 1994. |
4 Based on CCCP program by Paul Rubin, June 1986 | 4 Based on CCCP program by Paul Rubin, June 1986 |
5 Adapted to ANSI C, Richard Stallman, Jan 1987 | 5 Adapted to ANSI C, Richard Stallman, Jan 1987 |
6 | 6 |
7 This program is free software; you can redistribute it and/or modify it | 7 This program is free software; you can redistribute it and/or modify it |
70 s->n_false = cpp_lookup (pfile, DSC("false")); | 70 s->n_false = cpp_lookup (pfile, DSC("false")); |
71 s->n__VA_ARGS__ = cpp_lookup (pfile, DSC("__VA_ARGS__")); | 71 s->n__VA_ARGS__ = cpp_lookup (pfile, DSC("__VA_ARGS__")); |
72 s->n__VA_ARGS__->flags |= NODE_DIAGNOSTIC; | 72 s->n__VA_ARGS__->flags |= NODE_DIAGNOSTIC; |
73 s->n__VA_OPT__ = cpp_lookup (pfile, DSC("__VA_OPT__")); | 73 s->n__VA_OPT__ = cpp_lookup (pfile, DSC("__VA_OPT__")); |
74 s->n__VA_OPT__->flags |= NODE_DIAGNOSTIC; | 74 s->n__VA_OPT__->flags |= NODE_DIAGNOSTIC; |
75 s->n__has_include__ = cpp_lookup (pfile, DSC("__has_include__")); | 75 /* __has_include{,_next} are inited in cpp_init_builtins. */ |
76 s->n__has_include_next__ = cpp_lookup (pfile, DSC("__has_include_next__")); | |
77 } | 76 } |
78 | 77 |
79 /* Tear down the identifier hash table. */ | 78 /* Tear down the identifier hash table. */ |
80 void | 79 void |
81 _cpp_destroy_hashtable (cpp_reader *pfile) | 80 _cpp_destroy_hashtable (cpp_reader *pfile) |