GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • [ date ]
  • [ thread ]
  • [ subject ]
  • [ author ]

This view

  • Original page
  • New address

GeezerVison is showing mail.python.org — [Python-Dev] Adding C ternary select (a?b:c) to Python?

[Python-Dev] Adding C ternary select (a?b:c) to Python?

M.-A. Lemburg [email protected]
Sun, 30 Jan 2000 22:34:51 +0100

  • Previous message: [Python-Dev] Adding C ternary select (a?b:c) to Python?
  • Next message: [Python-Dev] Adding C ternary select (a?b:c) to Python?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

> --- Include/token.h     2000/01/28 17:38:55     1.1
> +++ Include/token.h     2000/01/29 01:27:00
> @@ -74,10 +74,11 @@
>  #define LEFTSHIFT      34
>  #define RIGHTSHIFT     35
>  #define DOUBLESTAR     36
> +#define QUERY          37
>  /* Don't forget to update the table _PyParser_TokenNames in tokenizer.c! */
> -#define OP             37
> -#define ERRORTOKEN     38
> -#define N_TOKENS       39
> +#define OP             38
> +#define ERRORTOKEN     39
> +#define N_TOKENS       34

Shouldn't this read #define N_TOKENS 40 ?!

Apart from that I wouldn't mind having this patch in the core :-)

-- 
Marc-Andre Lemburg
______________________________________________________________________
Business:                                      http://www.lemburg.com/
Python Pages:                           http://www.lemburg.com/python/




  • Previous message: [Python-Dev] Adding C ternary select (a?b:c) to Python?
  • Next message: [Python-Dev] Adding C ternary select (a?b:c) to Python?
  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.