>>> Complete"
--- In oopic@yahoogroups.com, Andrew Porrett <slicerwizard@...> wrote:
> It should warn about a string literal spanning that many
> lines, but that's not gonna happen.
Like C, the ooPIC compiler doesn't use carriage returns to determine
when a statement is done. It will seek the end of whatever...
statements, tokens, strings, whatever by looking for the actual end.
In this case it is looking for a quote mark. When it finds it...
then that is where it is.
Not that I think the C language is wonderful for allowing this, but
hey... it works.
Try this in the ooPIC compiler Ver 6 and see what code gets generated.
------------------
Byte
a
;
a
=
1
;
------------------
Scott Savage
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/oopic/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/oopic/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:oopic-digest@yahoogroups.com
mailto:oopic-fullfeatured@yahoogroups.com
<*> To unsubscribe from this group, send an email to:
oopic-unsubscribe@yahoogroups.com
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
No comments:
Post a Comment