I have a copy of the Jones and Jones Information and Coding Theory book. It states the Kraft inequality for instantaneously decodable codes and the McMillan inequality for uniquely decodable codes, both involving codes with a finite source alphabet. The proofs involve the maximum codeword length, which will not exist for infinite codes. Do these results hold for infinite codes? Does anyone know of a textbook with these results for infinite codes?
Edit: Do the Kraft and McMillan theorems hold for infinite codes (codes with an infinite source alphabet)?

You can find a proof of the Kraft–McMillan inequalities in [1, Theorem 2.4.12, p. 75].
[1] J. Berstel, D. Perrin, C. Reutenauer, Codes and automata, Encyclopedia of Mathematics and its Applications, 129. Cambridge University Press, Cambridge, 2010. xiv+619 pp. ISBN: 978-0-521-88831-8
EDIT. You may prefer reference [2], in which Kraft–McMillan inequality is stated and proved on page 12, Formula (1.4).
[2] M/ P. Béal, J. Berstel, B. H. Marcus, D. Perrin, C. Reutenauer, P. Siegel, Variable-length codes and finite automata. Selected topics in information and coding theory, 505--584, Ser. Coding Theory Cryptol., 7, World Sci. Publ., Hackensack, NJ, 2010.