shithub: pdffs

Download patch

ref: 23c3f961d78789878f39211fb6f1ac85697d4da1
parent: 587d06e3038682fd20fad2ef53ffcfc8cd2b5558
author: Noam Preil <noam@pixelhero.dev>
date: Tue Sep 6 21:47:32 EDT 2022

parse: single-quote is a valid op

--- a/object.c
+++ b/object.c
@@ -64,7 +64,7 @@
 	if(c < 0)
 		goto err;
 
-	if(isascii(c) && isalpha(c)){
+	if(isascii(c) && (isalpha(c)) || c == '\''){
 		Sungetc(s);
 		// bool, null, or op
 		if(sismatch(s, "null", 1)){