]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/html/parser/parser.factor
sequences.parser: simplify duplicate defition.
[factor.git] / extra / html / parser / parser.factor
index 9fc7e6295fd69a8a56e1383e59b2ccb958428dae..b9c09e41ac91afe22627ad0dd7c75141f4247a7b 100644 (file)
@@ -46,7 +46,7 @@ SYMBOL: tagstack
     CHAR: \" (read-quote) ;
 
 : read-quote ( sequence-parser -- string )
-    dup get+increment CHAR: ' =
+    dup next CHAR: ' =
     [ read-single-quote ] [ read-double-quote ] if ;
 
 : read-key ( sequence-parser -- string )