about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorbptato <nincsnevem662@gmail.com>2023-06-25 15:13:14 +0200
committerbptato <nincsnevem662@gmail.com>2023-06-25 15:13:14 +0200
commit2ade1784f8b0476b32929e092250e01826342497 (patch)
treed7e3bac3cdc39a30acc1b2a382bfe5eb87b4ba2f
parent969ba2b81567da971084417e1c82e8a8095923b5 (diff)
downloadchawan-2ade1784f8b0476b32929e092250e01826342497.tar.gz
css/values: remove stray eprint
-rw-r--r--src/css/values.nim2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/css/values.nim b/src/css/values.nim
index f92119fe..6d664a25 100644
--- a/src/css/values.nim
+++ b/src/css/values.nim
@@ -571,8 +571,6 @@ func cssIdent[T](map: static Table[string, T], cval: CSSComponentValue):
       let val = tok.value
       if val in map:
         return ok(map[val])
-  when T is CSSDisplay:
-    eprint "invalid", cval
   return err("Invalid ident")
 
 func cssLength*(val: CSSComponentValue, has_auto: static bool = true,