Package: ragel
Version: 6.5-1
Severity: normal
Here's a semi-minimal test machine:
/* ---------------------------------------- */
%%{
machine foobar;
alphtype unsigned char;
bar := 'b' @{fbreak;} ;
foo := 'a' %{fgoto bar;} ;
}%%
%%write data;
void
run(unsigned char const *p, unsigned char const *pe)
{
unsigned char const *const eof = pe;
int cs;
%%write init;
%%write exec;
}
/* ---------------------------------------- */
$ ragel -C -G2 test.rl && gcc -c test.c
test.rl: In function ‘run’:
test.rl:6: error: label ‘st2’ used but not defined
This appears to be because the fgoto for some reason doesn't cause a
label to be generated for the target state, even though one is needed.
---> Drake Wilson
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages ragel depends on:
ii libc6 2.10.2-2 GNU C Library: Shared libraries
ii libgcc1 1:4.4.2-3 GCC support library
ii libstdc++6 4.4.2-3 The GNU Standard C++ Library v3
ragel recommends no packages.
ragel suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]