Commit Graph

13 Commits

Author SHA1 Message Date
93e24dac3a Updated Linguist to v7.29.0 2024-03-13 20:07:55 +00:00
c5be903c6f Updated Linguist to v7.28.0 2023-12-12 20:08:49 +00:00
b03c0bd996 Updated Linguist to v7.27.0 2023-09-22 20:08:27 +00:00
84c996dfcf Updated Linguist to v7.26.0 2023-09-14 00:06:22 +02:00
afe3bdf45a Updated Linguist to v7.23.0 2023-03-03 14:07:28 +01:00
60edc790b3 Updated Linguist to v7.21.0 2022-06-09 20:09:50 +00:00
9f73cdf211 Updated Linguist to v7.20.0 2022-04-05 20:12:53 +00:00
8eac4cab85 Updated Linguist to v7.19.0 2022-03-03 20:08:49 +00:00
2febea0489 Updated Linguist to v7.18.0 2021-12-15 20:08:13 +00:00
b3ee64f627 Updated Linguist to v7.17.0 2021-11-14 18:33:24 +01:00
0affa3ccca Update to Linguist v7.16.1 2021-09-25 23:57:50 +03:00
dfb8041dcc Update generated code for Linguist 7.14.0 2021-04-26 09:36:25 -07:00
eb043e80a8 Add GetLanguageID function
The Linguist-defined language IDs are important to our use case because they are
used as database identifiers. This adds a new generator to extract the language
IDs into a map and uses that to implement GetLanguageID.

Because one language has the ID 0, there is no way to tell if a language name is
found or not. If desired, we could add this by returning (string, bool) from
GetLanguageID. But none of the other functions that take language names do this,
so I didn't want to introduce it here.
2021-04-13 11:49:21 -07:00