beebasm

changeset 44:1602b5d50bb2

Fixed PUTBASIC bug (Thomas' code was allowing * commands to be terminated with colons).
author RichTW <richtw1@gmail.com>
date Thu Jun 23 11:33:32 2011 +0200
parents dac404a40441
children 89a6ac2de2e9
files beebasm.exe src/BASIC.cpp
diffstat 2 files changed, 2 insertions(+), 1 deletions(-) [+]
line diff
     1.1 Binary file beebasm.exe has changed
     2.1 --- a/src/BASIC.cpp	Thu Jun 16 09:28:47 2011 +0200
     2.2 +++ b/src/BASIC.cpp	Thu Jun 23 11:33:32 2011 +0200
     2.3 @@ -611,7 +611,8 @@
     2.4  					if(StartOfStatement)
     2.5  					{
     2.6  						/* * at start of statement means don't tokenise rest of statement, other than string literals */
     2.7 -						while(!EndOfFile && !ErrorNum && IncomingBuffer[0] != ':' && IncomingBuffer[0] != '\n')
     2.8 +						// Bugfix RTW - * commands should not be terminated by colons
     2.9 +						while(!EndOfFile && !ErrorNum && /*IncomingBuffer[0] != ':' &&*/ IncomingBuffer[0] != '\n')
    2.10  						{
    2.11  							switch(IncomingBuffer[0])
    2.12  							{