Skip to content

Commit

Permalink
Added literals
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan committed Mar 26, 2023
1 parent 0cb70a7 commit 80c6e4d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions basic.h
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
*
* $Id: basic.h,v 1.11 2023/02/18 20:16:59 stefan Exp stefan $
* $Id: basic.h,v 1.12 2023/03/25 08:09:07 stefan Exp stefan $
*
* Stefan's basic interpreter
*
Expand Down Expand Up @@ -884,6 +884,8 @@ static long lastlongyield=0;
/* formaters lastouttoken and spaceafterkeyword to make a nice LIST */
static mem_t lastouttoken;
static mem_t spaceafterkeyword;
static mem_t outliteral = 0;
static mem_t lexliteral = 0;

/*
* the cache for the heap search - helps the string code
Expand Down Expand Up @@ -1111,7 +1113,7 @@ void removefile(char*);
void formatdisk(short);

/* low level serial code */
#if !defined(ARDUINO) && ( !defined(MSDOS) || defined(MINGW) )
#if !defined(ARDUINO) && ( defined(MSDOS) || defined(MINGW) )
typedef unsigned int uint32_t;
#endif
void picogetchar(char);
Expand Down

2 comments on commit 80c6e4d

@guidol70
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

with the new basic.h I do get now the follwing waning:

In file included from basic.c:246:
basic.h:1121:1: warning: parameter names (without types) in function declaration
 1121 | void picobegin(uint32_t);

maybe we do need at the new line 1116 also MINGW64?
#if !defined(ARDUINO) && ( defined(MSDOS) || defined(MINGW) || defined(MINGW64) )

With that I didnt get that warnign anymore :)

@slviajero
Copy link
Owner

@slviajero slviajero commented on 80c6e4d Mar 27, 2023 via email

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.