shithub: femtolisp

Download patch

ref: 04a8d03a708ce1361aada5201c9b87ea5be38b82
parent: 74b99bca7f536be48806628bf9d824ae27a7f849
author: Sigrid Solveig Haflínudóttir <sigrid@ftrv.se>
date: Fri Mar 10 10:32:47 EST 2023

symchar: add alarm and backspace chars

--- a/read.c
+++ b/read.c
@@ -20,7 +20,7 @@
 // an ordinary symbol character unless it's the first character.
 static inline int symchar(char c)
 {
-    static char *special = "()[]'\";`,\\| \f\n\r\t\v";
+    static char *special = "()[]'\";`,\\| \a\b\f\n\r\t\v";
     return !strchr(special, c);
 }