1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-11 22:31:12 +02:00
guile/module/language/assembly
Ludovic Courtès 1caa6341b0 Fix miscompilation of non-ASCII Latin-1 strings.
The bug was introduced dad6817f ("Use the R6RS I/O API in
`write-bytecode'.").

* module/language/assembly/compile-bytecode.scm
  (write-bytecode)[write-string]: Rename to...
  [write-latin1-string]: ... this.  Add the `write-loader-len' call.
  Write each character individually instead of using `string->utf8'.
  [write-loader]: Remove.

* test-suite/tests/asm-to-bytecode.test ("compiler")[load-string "æ"]:
  New test.
2010-03-07 23:45:14 +01:00
..
compile-bytecode.scm Fix miscompilation of non-ASCII Latin-1 strings. 2010-03-07 23:45:14 +01:00
decompile-bytecode.scm prompt handlers are always inline 2010-02-19 15:30:34 +01:00
disassemble.scm fix prompt disassembly bug 2010-02-19 22:35:00 +01:00
spec.scm language-readers receive environment as an arg 2009-10-16 13:39:24 +02:00