annotate demo/hello.ur @ 2162:c39c48696393

Allow returnBlob and redirect in static protocol Both of these functions end up returning RETURN_INDIRECTLY, which is assumed to be an error by static.c's main. Treat it as success instead.
author Julian Squires <julian@cipht.net>
date Mon, 13 Jul 2015 14:34:30 -0400
parents 168667cdaa95
children
rev   line source
adamc@378 1 fun main () = return <xml>
adamc@378 2 <head>
adamc@378 3 <title>Hello world!</title>
adamc@378 4 </head>
adamc@378 5
adamc@378 6 <body>
adamc@378 7 <h1>Hello world!</h1>
adamc@378 8 </body>
adamc@378 9 </xml>