Home | Notes | Languages | Programs | Homework |
Whitespace |
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
Home | Notes | Languages | Programs | Homework |