From 27876dc77ff259e27a71ea6f30662a668adfd134 Mon Sep 17 00:00:00 2001 From: Simon Hengel Date: Tue, 3 Sep 2013 19:14:08 +0200 Subject: Don't append newline to parseString input We also check that we have parsed everything with endOfInput. --- html-test/ref/A.html | 2 +- html-test/ref/AdvanceTypes.html | 2 +- html-test/ref/B.html | 2 +- html-test/ref/Bug1.html | 2 +- html-test/ref/Bug2.html | 2 +- html-test/ref/Bug3.html | 2 +- html-test/ref/Bug4.html | 2 +- html-test/ref/Bug6.html | 2 +- html-test/ref/Bug7.html | 2 +- html-test/ref/Bug8.html | 8 +-- html-test/ref/BugDeprecated.html | 20 +++--- html-test/ref/BugExportHeadings.html | 47 +++++--------- html-test/ref/Bugs.html | 2 +- html-test/ref/CrossPackageDocs.html | 35 ++++------- html-test/ref/DeprecatedClass.html | 14 ++--- html-test/ref/DeprecatedData.html | 20 +++--- html-test/ref/DeprecatedFunction.html | 5 +- html-test/ref/DeprecatedFunction2.html | 5 +- html-test/ref/DeprecatedFunction3.html | 5 +- html-test/ref/DeprecatedModule.html | 5 +- html-test/ref/DeprecatedModule2.html | 5 +- html-test/ref/DeprecatedNewtype.html | 14 ++--- html-test/ref/DeprecatedReExport.html | 17 ++--- html-test/ref/DeprecatedRecord.html | 5 +- html-test/ref/DeprecatedTypeFamily.html | 8 +-- html-test/ref/DeprecatedTypeSynonym.html | 8 +-- html-test/ref/Examples.html | 2 +- html-test/ref/FunArgs.html | 2 +- html-test/ref/GADTRecords.html | 2 +- html-test/ref/Hash.html | 20 +++--- html-test/ref/HiddenInstances.html | 2 +- html-test/ref/HiddenInstancesB.html | 2 +- html-test/ref/Hyperlinks.html | 2 +- html-test/ref/IgnoreExports.html | 2 +- html-test/ref/ModuleWithWarning.html | 5 +- html-test/ref/NamedDoc.html | 2 +- html-test/ref/NoLayout.html | 2 +- html-test/ref/NonGreedy.html | 2 +- html-test/ref/Properties.html | 2 +- html-test/ref/PruneWithWarning.html | 2 +- html-test/ref/SpuriousSuperclassConstraints.html | 2 +- html-test/ref/Test.html | 80 +++++++++--------------- html-test/ref/Ticket253_1.html | 2 +- html-test/ref/Ticket253_2.html | 2 +- html-test/ref/Ticket61.html | 2 +- html-test/ref/Ticket75.html | 2 +- html-test/ref/TitledPicture.html | 2 +- html-test/ref/TypeFamilies.html | 2 +- html-test/ref/TypeOperators.html | 8 +-- html-test/ref/Unicode.html | 2 +- html-test/ref/Visible.html | 2 +- html-test/ref/mini_BugExportHeadings.html | 18 ++---- html-test/ref/mini_DeprecatedReExport.html | 6 +- html-test/ref/mini_Hash.html | 9 +-- html-test/ref/mini_Test.html | 36 ++++------- html-test/ref/mini_TypeOperators.html | 3 +- 56 files changed, 175 insertions(+), 293 deletions(-) (limited to 'html-test/ref') diff --git a/html-test/ref/A.html b/html-test/ref/A.html index 4ba16b7b..4d55ba16 100644 --- a/html-test/ref/A.html +++ b/html-test/ref/A.html @@ -35,7 +35,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_A.html");}; >Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Type (StringTyp, [Typ])TFree (StringTyp, [StringTyp]) Safe HaskellNoneSafe-Inferred

Deprecated: for foo -

Deprecated: for foo

Deprecated: for baz -

Deprecated: for baz

Deprecated: for bar -

Deprecated: for bar

Deprecated: for one -

Deprecated: for one

some documentation for one, two and three @@ -159,8 +155,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_BugDeprecated.html");} >

Deprecated: for three -

Deprecated: for three

some documentation for one, two and three @@ -177,8 +172,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_BugDeprecated.html");} >

Deprecated: for two -

Deprecated: for two

some documentation for one, two and three diff --git a/html-test/ref/BugExportHeadings.html b/html-test/ref/BugExportHeadings.html index 1010dc54..7e3ea0d3 100644 --- a/html-test/ref/BugExportHeadings.html +++ b/html-test/ref/BugExportHeadings.html @@ -35,7 +35,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_BugExportHeadings.html >Safe HaskellNoneSafe-Inferred

proc for details) -

for details)

]

Arguments to pass to the executable -

Arguments to pass to the executable

Optional path to the working directory -

Optional path to the working directory

)]

Optional environment (otherwise inherit) -

Optional environment (otherwise inherit)

stdout and stderr respectively. -

respectively.

For example, to start a process and feed a string to its stdin: -

For example, to start a process and feed a string to its stdin:

   (inp,out,err,pid) <- runInteractiveProcess "..."
-   forkIO (hPutStr inp str)
-

The hSetBinaryMode. -

.

Safe HaskellNoneSafe-Inferred

Deprecated: SomeClass -

Deprecated: SomeClass

some class @@ -107,8 +106,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedClass.html") >

Deprecated: foo -

Deprecated: foo

documentation for foo @@ -128,8 +126,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedClass.html") >

Deprecated: SomeOtherClass -

Deprecated: SomeOtherClass

Deprecated: bar -

Deprecated: bar

Safe HaskellNoneSafe-Inferred

Deprecated: Foo -

Deprecated: Foo

type Foo @@ -111,8 +110,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedData.html"); >

Deprecated: Foo -

Deprecated: Foo

constructor Foo @@ -127,8 +125,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedData.html"); >

Deprecated: Bar -

Deprecated: Bar

constructor Bar @@ -148,8 +145,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedData.html"); >

Deprecated: One -

Deprecated: One

Deprecated: One -

Deprecated: One

Deprecated: Two -

Deprecated: Two

Safe HaskellNoneSafe-Inferred

bar instead -

instead

some documentation for foo diff --git a/html-test/ref/DeprecatedFunction2.html b/html-test/ref/DeprecatedFunction2.html index 023081b3..f212adf2 100644 --- a/html-test/ref/DeprecatedFunction2.html +++ b/html-test/ref/DeprecatedFunction2.html @@ -35,7 +35,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedFunction2.ht >Safe HaskellNoneSafe-Inferred

Deprecated: use bar instead -

Deprecated: use bar instead

Safe HaskellNoneSafe-Inferred

Deprecated: use bar instead -

Deprecated: use bar instead

Safe HaskellNoneSafe-Inferred

Deprecated: Use Foo instead -

instead

Documentation for Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Deprecated: SomeNewType -

Deprecated: SomeNewType

some documentation @@ -101,8 +100,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedNewtype.html >

Deprecated: SomeNewTypeConst -

Deprecated: SomeNewTypeConst

constructor docu @@ -122,8 +120,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedNewtype.html >

Deprecated: SomeOtherNewType -

Deprecated: SomeOtherNewType

Re-exported from an other module -

Re-exported from an other module

bar instead -

instead

some documentation for foo @@ -110,8 +106,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedReExport.htm >

Re-exported from an other package -

Re-exported from an other package

Not yet working, see Safe HaskellNoneSafe-Inferred

some value diff --git a/html-test/ref/DeprecatedTypeFamily.html b/html-test/ref/DeprecatedTypeFamily.html index 874272b7..b9f49036 100644 --- a/html-test/ref/DeprecatedTypeFamily.html +++ b/html-test/ref/DeprecatedTypeFamily.html @@ -35,7 +35,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedTypeFamily.h >Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Deprecated: TypeSyn -

Deprecated: TypeSyn

some documentation @@ -98,8 +97,7 @@ window.onload = function () {pageLoad();setSynopsis("mini_DeprecatedTypeSynonym. >

Deprecated: OtherTypeSyn -

Deprecated: OtherTypeSyn

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

The HashTable type - type

The Hash class - class

The HashTable type -

type

Operations on HashTables -

s

Type declarations -

Type declarations

Data types -

Data types

n3 field + > field

Records -

Records

Class declarations -

Class declarations

Function types -

Function types

Auxiliary stuff -

Auxiliary stuff

This is some documentation that is attached to a name ($aux1) @@ -1865,8 +1847,7 @@ test2

A hidden module -

A hidden module

A visible module -

A visible module

module

Existential / Universal types -

Existential / Universal types

Type signatures with argument docs -

Type signatures with argument docs

This function has some arg docs + >This function has some arg docs

A section -

A section

A subsection -

A subsection
 a literal line
@@ -2215,7 +2191,7 @@ test2
 	      >f' 
+	      >
  but f' doesn't get link'd 'f\''
 

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred

stuff -

stuff

Safe HaskellNoneSafe-Inferred

Safe HaskellNoneSafe-Inferred