Commits

camlspotter  committed 17697e6

stupid bug fixed

  • Participants
  • Parent commits 7ef267f
  • Branches dev

Comments (0)

Files changed (1)

             (* Now move to the next token *)
             (* CR jfuruse: last_token thing seems strange. The state machine should be able to
                access previous tokens freely. (But with risk of memory leak) *)
-            let last_token = match t with Parser.COMMENT _ -> Some t | _ -> state.State.last_token in
+            let last_token = match t with Parser.COMMENT _ -> state.State.last_token | _ ->  Some t in
             let post = 
               { post with 
                 State.last_token = last_token;