From e6231089306f4bf6f8e6bee0c5a4eacb5dbe1714 Mon Sep 17 00:00:00 2001 From: "phil@softsynth.com" Date: Thu, 26 Aug 2010 22:02:31 +0000 Subject: [PATCH] Fix inconsistent line endings. Thanks Aleksej. --- fth/floats.fth | 12 ++++++------ fth/history.fth | 8 ++++---- readme.txt | 18 +++++++++--------- releases.txt | 32 ++++++++++++++++---------------- 4 files changed, 35 insertions(+), 35 deletions(-) diff --git a/fth/floats.fth b/fth/floats.fth index 9196575..02d1625 100644 --- a/fth/floats.fth +++ b/fth/floats.fth @@ -406,10 +406,10 @@ false fp-require-e ! \ violate ANSI !! c-addr c@ [char] E = c-addr c@ [char] e = OR IF - 1 +-> c-addr -1 +-> u' \ skip E char - u' 0> + 1 +-> c-addr -1 +-> u' \ skip E char + u' 0> IF - c-addr c@ [char] + = \ ignore + on exponent + c-addr c@ [char] + = \ ignore + on exponent IF 1 +-> c-addr -1 +-> u' \ skip char THEN @@ -418,9 +418,9 @@ false fp-require-e ! \ violate ANSI !! IF nshift + -> nshift true -> flag - THEN - ELSE - true -> flag \ allow "1E" + THEN + ELSE + true -> flag \ allow "1E" THEN THEN ELSE diff --git a/fth/history.fth b/fth/history.fth index 574d6a6..176d187 100644 --- a/fth/history.fth +++ b/fth/history.fth @@ -50,8 +50,8 @@ KH-HISTORY kh_history_size erase \ \ The most recent entry is put at the beginning, \ older entries are shifted up. - -4 constant KH_LINE_EXTRA_SIZE ( 2 count bytes plus 2 size bytes ) + +4 constant KH_LINE_EXTRA_SIZE ( 2 count bytes plus 2 size bytes ) : KH-END ( -- addr , end of history buffer ) kh-history kh_history_size + @@ -133,8 +133,8 @@ variable KH-INSIDE ( true if we are scrolling inside the history buffer ) ELSE >r ( save count ) \ Set look pointer to point to first count byte of last string. - 0 kh-look ! -\ Make room for this line of text and line header. + 0 kh-look ! +\ Make room for this line of text and line header. \ PLB20100823 Was cell+ which broke on 64-bit code. r@ KH_LINE_EXTRA_SIZE + kh.make.room \ Set count bytes at beginning and end. diff --git a/readme.txt b/readme.txt index 8be8524..362be8a 100644 --- a/readme.txt +++ b/readme.txt @@ -1,23 +1,23 @@ README for pForth - a Portable ANS-like Forth written in ANSI 'C' by Phil Burk -with Larry Polansky, David Rosenboom and Darren Gibbs. +with Larry Polansky, David Rosenboom and Darren Gibbs. Support for 64-bit cells by Aleksej Saushev. Last updated: May 20, 2010 V26 - -Code for pForth is maintained on Google at: - http://code.google.com/p/pforth/ + +Code for pForth is maintained on Google at: + http://code.google.com/p/pforth/ -Documentation for pForth at: +Documentation for pForth at: http://www.softsynth.com/pforth/ - -For technical support please use the pForth forum at: - http://groups.google.com/group/pforthdev + +For technical support please use the pForth forum at: + http://groups.google.com/group/pforthdev The author is available for customization of pForth, porting to new platforms, or developing pForth applications on a contractual basis. -If interested, contact Phil Burk at: +If interested, contact Phil Burk at: http://www.softsynth.com/contacts.php -- LEGAL NOTICE ----------------------------------------- diff --git a/releases.txt b/releases.txt index 615d2cc..571a512 100644 --- a/releases.txt +++ b/releases.txt @@ -1,24 +1,24 @@ Release History for pForth - a Portable ANS-like Forth written in ANSI 'C' Documentation for pForth at http://www.softsynth.com/pforth/ - -V27 - - Fixed REPOSITION-FILE FILE-SIZE and FILE-POSITION. - They used to use single precision offset. Now use double as specified. - - Delete object directories in Makefile clean. - - Fixed "Issue 4: Filehandle remains locked upon INCLUDE error". - http://code.google.com/p/pforth/issues/detail?id=4&can=1 - - Fixed scrambled HISTORY on 64-bit systems. Was using CELL+ but really needed 4 +. - - Fixed floating point input. Now accepts "1E" as 1.0. Was Issue #2. - - Fixed lots of warning and made code compatible with C89 and ANSI with -pedantic. - - Use fseek and ftell on WIN32 instead of fseeko and ftello. -V26 5/20/2010 - - 64-bit support for M* UM/MOD etc by Aleksej Saushev. Thanks Aleksej! +V27 + - Fixed REPOSITION-FILE FILE-SIZE and FILE-POSITION. + They used to use single precision offset. Now use double as specified. + - Delete object directories in Makefile clean. + - Fixed "Issue 4: Filehandle remains locked upon INCLUDE error". + http://code.google.com/p/pforth/issues/detail?id=4&can=1 + - Fixed scrambled HISTORY on 64-bit systems. Was using CELL+ but really needed 4 +. + - Fixed floating point input. Now accepts "1E" as 1.0. Was Issue #2. + - Fixed lots of warning and made code compatible with C89 and ANSI with -pedantic. + - Use fseek and ftell on WIN32 instead of fseeko and ftello. + +V26 5/20/2010 + - 64-bit support for M* UM/MOD etc by Aleksej Saushev. Thanks Aleksej! -V25 5/19/2010 - - Added 64-bit CELL support contributed by Aleksej Saushev. Thanks Aleksej! - - Added "-x c" to Makefile CCOPTS to prevent confusion with C++ +V25 5/19/2010 + - Added 64-bit CELL support contributed by Aleksej Saushev. Thanks Aleksej! + - Added "-x c" to Makefile CCOPTS to prevent confusion with C++ - Allow space after -d command line option. - Restore normal tty mode if pForth dictionary loading fails. -- 2.20.1