changeset 509:bab891d85a53

Allow dot at start of symbol per documentation The documentation says symbols can start with a dot. Also, source code in the wild that uses symbols starting with a dot has turned up. In theory, it shouldn't cause any problems to have symbols starting with dots.
author William Astle <>
date Sat, 16 May 2020 17:27:42 -0600
parents 10f62dc61a75
children 3425005b9980
files lwasm/lwasm.h
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lwasm/lwasm.h	Sun May 10 22:38:24 2020 -0600
+++ b/lwasm/lwasm.h	Sat May 16 17:27:42 2020 -0600
@@ -34,7 +34,7 @@
 // these are allowed chars BELOW 0x80 for symbols
 // first is symbol start chars, second is anywhere in symbol
-#define SSYMCHARS "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_@$"
+#define SSYMCHARS "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz_@$."
 #define SYMCHARS SSYMCHARS ".?0123456789"
 typedef struct asmstate_s asmstate_t;