From 9777396dc8e183cd49eba74416f60a25d1a24f53 Mon Sep 17 00:00:00 2001 From: yosssi Date: Tue, 21 Oct 2014 10:14:12 +0900 Subject: [PATCH] Iota can be omitted. --- State.go | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/State.go b/State.go index 0831226..13dc934 100644 --- a/State.go +++ b/State.go @@ -26,12 +26,12 @@ const ( // Parser constants const ( STARTING_COMMENT = iota - IN_COMMENT = iota - CLOSING_COMMENT = iota - COMMENT_CLOSED = iota - IN_SELECTOR = iota - IN_PROPERTY = iota - IN_VALUE = iota + IN_COMMENT + CLOSING_COMMENT + COMMENT_CLOSED + IN_SELECTOR + IN_PROPERTY + IN_VALUE ) func (s *State) parse(letter byte) {