Hello!

I get the following warning compling bison-3.0.4 generated parser with GCC:

   warning: conversion to ‘yytype_int16 {aka short int}’ from ‘int’ may
   alter its value [-Wconversion]
       *yyssp = yystate;

As I understand, yyssp has to be 16-bit in order to reduce stack space. If this conversion is safe, bison could generate explicit cast; otherwise a more serious fix is needed. Could you fix it, or perhaps you'd like me to try send a patch ? Should I provide an example?

Ulya

Reply via email to