Skip to content

Commit

Permalink
Check in pre-generated Parser.hs files (#88, #89)
Browse files Browse the repository at this point in the history
Seems wrong to me, but it's the simplest way to fix issues with cabal
sandboxes and new-build.
  • Loading branch information
simonmar committed Jul 13, 2017
1 parent 7bf78de commit ea3c22d
Show file tree
Hide file tree
Showing 7 changed files with 1,641 additions and 7 deletions.
5 changes: 5 additions & 0 deletions CHANGES
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
-----------------------------------------------------------------------------
1.19.7
* Manually generate Parser.hs using Makefile and check it into the repo,
to fix bootstrapping problems with cabal sandboxes & new-build

-----------------------------------------------------------------------------
1.19.5
* fixes for GHC 7.10
Expand Down
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
TOP = ..
include $(TOP)/mk/boilerplate.mk

SUBDIRS = src templates doc

include $(TOP)/mk/target.mk
HAPPY=happy
HAPPYFLAGS=-agc

GEN = src/Parser.hs src/AttrGrammarParser.hs

all : $(GEN)

src/%.hs : src/boot/%.ly
$(HAPPY) $(HAPPYFLAGS) $< -o $@

2 changes: 1 addition & 1 deletion happy.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: happy
version: 1.19.6
version: 1.19.7
license: BSD2
license-file: LICENSE
copyright: (c) Andy Gill, Simon Marlow
Expand Down
Loading

0 comments on commit ea3c22d

Please sign in to comment.