Skip to content

Commit

Permalink
suppress prints
Browse files Browse the repository at this point in the history
  • Loading branch information
kwanghoon committed Oct 27, 2021
1 parent db68dba commit 009ef83
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: yapb
version: 0.1.3.1
version: 0.1.3.2
github: "kwanghoon/yapb"
license: BSD3
author: "Kwanghoon Choi"
Expand Down
4 changes: 2 additions & 2 deletions src/parserlib/CommonParserUtil.hs
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ runAutomatonHaskell flag (rm_spec @ AutomatonSpec {
case action of
Accept -> do
debug flag "Accept"
putStrLn $ terminalToString terminal {- debug -}
debug flag $ terminalToString terminal {- debug -}

case stack !! 1 of
StkNonterminal (Just ast) _ -> return ast
Expand All @@ -411,7 +411,7 @@ runAutomatonHaskell flag (rm_spec @ AutomatonSpec {

Shift toState -> do
debug flag ("Shift " ++ show toState)
putStrLn $ terminalToString terminal {- debug -}
debug flag $ terminalToString terminal {- debug -}

let stack1 = push (StkTerminal (head terminalList)) stack
let stack2 = push (StkState toState) stack1
Expand Down
4 changes: 2 additions & 2 deletions yapb.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ cabal-version: 1.12
--
-- see: https://github.com/sol/hpack
--
-- hash: 16df070449e5bdf4422c57c84ee5baa14a57cd1c98ab276c87e1e250f47fe403
-- hash: 83066d4d451ae0ff04c47672b47198ec2dd5f553401ce0104962f9ff1409446e

name: yapb
version: 0.1.3.1
version: 0.1.3.2
synopsis: Yet Another Parser Builder (YAPB)
description: A programmable LALR(1) parser builder system. Please see the README on GitHub at <https://github.com/kwanghoon/yapb#readme>
category: parser builder
Expand Down

0 comments on commit 009ef83

Please sign in to comment.