Home  |   Notes  |   Languages  |   Programs  |   Homework

Whitespace

New Message Reply About this list Date view Thread view Subject view Author view

Justin (juhutchi@VT.EDU)
Thu, 20 Sep 2001 00:39:14 -0400


Message-ID:  <LOEPKHJLGJNBPOEMBOODOEJMCAAA.juhutchi@vt.edu>
Date:         Thu, 20 Sep 2001 00:39:14 -0400
From: Justin <juhutchi@VT.EDU>
Subject:      Whitespace

        Wondering if this is an error.. Says in spec that whitespace in an
expression doesn't matter. So if we get a line of input like so:
1 2 + 3
        Is this supposed to be read as 12+3 (which evaluates to iconst 3, 12 and an
iadd), or is this somehow a syntax error?

thanks
Justin


New Message Reply About this list Date view Thread view Subject view Author view

Home  |   Notes  |   Languages  |   Programs  |   Homework
copyright © 2001 Virginia Tech, ALL RIGHTS RESERVED
Class site maintained by Stephen H. Edwards <edwards@cs.vt.edu>