check: ban recursive function calls

This commit is contained in:
Nigel Tao committed 2023-11-04 22:51:40 +11:00
1 parent b20c177a08
commit df1d4f64e2
3 files changed
+109

No files matched your search

+4
View File
@@ -192,6 +192,10 @@ func (x QQID) Str(m *Map) string {
return m.ByID(x[2])
}
func (x QQID) QIDSuffix() QID {
return QID{x[1], x[2]}
}
// Token combines an ID and the line number it was seen.
type Token struct {
ID ID