mes: Support octal numbers in reader.
authorJan Nieuwenhuizen <janneke@gnu.org>
Fri, 19 May 2017 19:10:08 +0000 (21:10 +0200)
committerJan Nieuwenhuizen <janneke@gnu.org>
Fri, 19 May 2017 19:10:08 +0000 (21:10 +0200)
commit44c8f26bf03c577a908155ee91d04ef31986cf58
tree037f178fe2408f80c780b4e5688e891027f811c0
parent8dc593ab18b50b45b87b1782030565ca0f2fe82c
mes: Support octal numbers in reader.

* module/mes/read-0.mes (read-octal): New function.
  (read-word): Use it.
* tests/read.test: Test it.
module/mes/read-0.mes
tests/read.test