See eg function copy_string in file src/c/lex.lex (but there may be other instances).
copy_string
src/c/lex.lex