tock-mirror/frontends
Neil Brown c79fd70959 Made sure that warnings are shown along with errors in the parser
The solution is a bit hacky, but this was an important problem.  If your PRAGMA failed to parse, that was worthy of a warning.  But if that then caused the parse to fail, all you would get is the parser error (could not find name), and you would never see the warnings about the pragmas not being recognised.  So now the pragmas are shoved into the error (using a basic encoding) and pulled out and issued if the parser dies.
2009-04-02 15:07:39 +00:00
..
LexOccam.x Switched to using a different kind of pragma for occam externals, and munged the names to avoid collisions 2009-04-01 19:21:40 +00:00
LexRain.x Added support for poison to the lexer and parser (and associated tests) 2008-09-12 14:39:57 +00:00
OccamPasses.hs Switched to using a different kind of pragma for occam externals, and munged the names to avoid collisions 2009-04-01 19:21:40 +00:00
OccamPassesTest.hs Moved all the remaining pass information to be with the passes themselves, and adjusted the tests accordingly 2008-06-02 14:31:19 +00:00
OccamTypes.hs Removed various bits of old code relating to the old sizes mechanism 2009-03-31 10:50:04 +00:00
OccamTypesTest.hs Fixed up a lot of the failing tests 2009-04-01 11:49:37 +00:00
ParseOccam.hs Made sure that warnings are shown along with errors in the parser 2009-04-02 15:07:39 +00:00
ParseRain.hs Changed the ChanEnd constructor to only keep information about its shared-ness, not about the whole channel 2009-03-23 18:40:28 +00:00
ParseRainTest.hs A mega-patch that gets tocktest compiling again 2009-03-31 17:56:56 +00:00
ParseUtils.hs Added the -fwarn-unused-imports compiler option to warn about unused imports, and then set about pruning and ordering (mostly in my code) the import lists for all the modules 2007-09-27 13:13:46 +00:00
PreprocessOccam.hs Made the preprocessor correct the path a #USEd file when it finds it on the search path while including it 2009-04-01 18:59:57 +00:00
PreprocessOccamTest.hs Make Token a real data type. 2008-06-05 09:46:52 +00:00
RainPasses.hs Changed the rest of tock to reflect the changes to the Is constructor 2009-03-24 23:57:24 +00:00
RainPassesTest.hs Reintroduced the transformRangeRep pass, and fixed the transformEachRange pass (along with fixing the relevant tests) 2009-02-03 12:31:54 +00:00
RainTypes.hs Changed the ChanEnd constructor to only keep information about its shared-ness, not about the whole channel 2009-03-23 18:40:28 +00:00
RainTypesTest.hs Changed tocktest so you can pass it -v options for use with the automatic tests 2009-02-08 16:33:53 +00:00
StructureOccam.hs Make Token a real data type. 2008-06-05 09:46:52 +00:00
StructureOccamTest.hs Fixed some StructureOccam tests that were broken recently by the change in the Token type 2008-06-06 13:14:34 +00:00
TypeUnification.hs Extended the type unification for Rain to support type-checking things that are being poisoned (which could be either end of a channel) 2008-09-12 14:40:04 +00:00
UnifyType.hs Extended the type unification for Rain to support type-checking things that are being poisoned (which could be either end of a channel) 2008-09-12 14:40:04 +00:00