Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 157163 Details for
Bug 242742
flex broken for %option noyywrap, yyclass, prefix
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
A modified flex-2.5.33-yy.patch which fixes this issue for me.
flex-2.5.33-yy-fix.patch (text/plain), 2.82 KB, created by
Srinivas Aji
on 2007-06-15 22:16:42 UTC
(
hide
)
Description:
A modified flex-2.5.33-yy.patch which fixes this issue for me.
Filename:
MIME Type:
Creator:
Srinivas Aji
Created:
2007-06-15 22:16:42 UTC
Size:
2.82 KB
patch
obsolete
>diff -urp flex-2.5.33/flex.skl flex-2.5.33-pm/flex.skl >--- flex-2.5.33/flex.skl 2006-02-16 23:20:43.000000000 +0100 >+++ flex-2.5.33-pm/flex.skl 2007-03-30 14:04:42.000000000 +0200 >@@ -54,6 +54,34 @@ m4_changequote([[, ]]) > %# the generated scanner as a C-style comment. This is to aid those who > %# edit the skeleton. > %# >+ >+%not-for-header >+%if-c-only >+%if-not-reentrant >+m4_ifelse(M4_YY_PREFIX,yy,, >+#define yy_create_buffer M4_YY_PREFIX[[_create_buffer]] >+#define yy_delete_buffer M4_YY_PREFIX[[_delete_buffer]] >+#define yy_flex_debug M4_YY_PREFIX[[_flex_debug]] >+#define yy_init_buffer M4_YY_PREFIX[[_init_buffer]] >+#define yy_flush_buffer M4_YY_PREFIX[[_flush_buffer]] >+#define yy_load_buffer_state M4_YY_PREFIX[[_load_buffer_state]] >+#define yy_switch_to_buffer M4_YY_PREFIX[[_switch_to_buffer]] >+#define yyin M4_YY_PREFIX[[in]] >+#define yyleng M4_YY_PREFIX[[leng]] >+#define yylex M4_YY_PREFIX[[lex]] >+#define yylineno M4_YY_PREFIX[[lineno]] >+#define yyout M4_YY_PREFIX[[out]] >+#define yyrestart M4_YY_PREFIX[[restart]] >+#define yytext M4_YY_PREFIX[[text]] >+#define yywrap M4_YY_PREFIX[[wrap]] >+#define yyalloc M4_YY_PREFIX[[alloc]] >+#define yyrealloc M4_YY_PREFIX[[realloc]] >+#define yyfree M4_YY_PREFIX[[free]] >+) >+%endif >+%endif >+%ok-for-header >+ > #define FLEX_SCANNER > #define YY_FLEX_MAJOR_VERSION FLEX_MAJOR_VERSION > #define YY_FLEX_MINOR_VERSION FLEX_MINOR_VERSION >diff -urp flex-2.5.33/skel.c flex-2.5.33-pm/skel.c >--- flex-2.5.33/skel.c 2006-02-21 03:45:41.000000000 +0100 >+++ flex-2.5.33-pm/skel.c 2007-03-30 14:04:43.000000000 +0200 >@@ -59,6 +59,34 @@ const char *skel[] = { > "%# the generated scanner as a C-style comment. This is to aid those who", > "%# edit the skeleton.", > "%#", >+ "", >+ "%not-for-header", >+ "%if-c-only", >+ "%if-not-reentrant", >+ "m4_ifelse(M4_YY_PREFIX,yy,,", >+ "#define yy_create_buffer M4_YY_PREFIX[[_create_buffer]]", >+ "#define yy_delete_buffer M4_YY_PREFIX[[_delete_buffer]]", >+ "#define yy_flex_debug M4_YY_PREFIX[[_flex_debug]]", >+ "#define yy_init_buffer M4_YY_PREFIX[[_init_buffer]]", >+ "#define yy_flush_buffer M4_YY_PREFIX[[_flush_buffer]]", >+ "#define yy_load_buffer_state M4_YY_PREFIX[[_load_buffer_state]]", >+ "#define yy_switch_to_buffer M4_YY_PREFIX[[_switch_to_buffer]]", >+ "#define yyin M4_YY_PREFIX[[in]]", >+ "#define yyleng M4_YY_PREFIX[[leng]]", >+ "#define yylex M4_YY_PREFIX[[lex]]", >+ "#define yylineno M4_YY_PREFIX[[lineno]]", >+ "#define yyout M4_YY_PREFIX[[out]]", >+ "#define yyrestart M4_YY_PREFIX[[restart]]", >+ "#define yytext M4_YY_PREFIX[[text]]", >+ "#define yywrap M4_YY_PREFIX[[wrap]]", >+ "#define yyalloc M4_YY_PREFIX[[alloc]]", >+ "#define yyrealloc M4_YY_PREFIX[[realloc]]", >+ "#define yyfree M4_YY_PREFIX[[free]]", >+ ")", >+ "%endif", >+ "%endif", >+ "%ok-for-header", >+ "", > "#define FLEX_SCANNER", > "#define YY_FLEX_MAJOR_VERSION 2", > "#define YY_FLEX_MINOR_VERSION 5",
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 242742
:
156239
| 157163 |
331314