Mercurial > urweb
view tests/num.ur @ 1656:3e7c7e200713
Fix handling of quotes in generating C literals
author | Adam Chlipala <adam@chlipala.net> |
---|---|
date | Mon, 02 Jan 2012 17:08:39 -0500 |
parents | fe8f75f7e130 |
children |
line wrap: on
line source
fun main () : transaction page = return <xml><body> {[ -1 ]}, {[ 1 + 1 ]}, {[ 9 - 3 ]}, {[ 9 * 3 ]}, {[ 9 / 3 ]}, {[ 9 % 3 ]}<br/> {[ -1.1 ]}, {[ 1.0 + 1.1 ]}, {[ 9.1 - 3.0 ]}, {[ 9.1 * 3.0 ]}, {[ 9.1 / 3.0 ]}, {[ 9.1 % 3.0 ]}<br/> </body></xml>