Crash when processing my .yy file.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bison++ (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: bison++
The file is included below:
=======
/*
* $Id$
* Copyright (c) 2005, IRIT-UPS <email address hidden>
*
* src/prog/
*/
%{
#include <otawa/
#include <elm/io.h>
using namespace elm;
int util_fft_lex(void);
void util_fft_
%}
%name-prefix=
%locations
%defines
%error-verbose
%parse-param {otawa:
%union {
long _int;
elm::String *_str;
}
%token <_int> INTEGER
%token <_str> STRING;
%token LOOP
%token CHECKSUM
%token BAD_TOKEN
%%
file:
/* empty */
| commands
;
commands:
command
| commands command
;
command:
LOOP INTEGER INTEGER ';'
{
//cout << "loop " << (void *)$2 << ", " << $3 << "\n";
loader-
}
| CHECKSUM STRING INTEGER ';'
{
//cout << "checksum = " << io::hex($2) << io::endl;
loader-
delete $2;
}
;
%%
// Error managed
void util_fft_
loader-
}
=======
The same file works very well with bison (without ++).