diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-11-21 15:19:45 +0100 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-11-21 15:19:45 +0100 |
commit | 7edbd99775416a32c88acf8e9379518436905f02 (patch) | |
tree | 6356edb79f846df4aa2f6a8a5ecfeef4e651bcc0 /grammer.h | |
parent | 7250bbe5ae2d2ee6b0334bc462aab73f7d8dac0e (diff) |
Support gcc 10 and clang 11
Diffstat (limited to 'grammer.h')
-rw-r--r-- | grammer.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -102,5 +102,9 @@ bool ChildIdIsNode(int32_t child_id); // identity index_t TokenIdFromChildId(int32_t child_id); int32_t ChildIdFromTokenId(index_t token_id); +// only convenience functions +index_t NodeIdFromChildId(int32_t child_id); +int32_t ChildIdFromNodeId(index_t node_id); + } // namespace Gram |