ALT Linux Bugzilla
– Attachment 7652 Details for
Bug 35140
rofi сегфолтится
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
0002-Workaround-for-ALT-flex-changes-ALT-35141.patch
0002-Workaround-for-ALT-flex-changes-ALT-35141.patch (text/plain), 942 bytes, created by
Sergey Vlasov
on 2018-07-09 19:07:53 MSK
(
hide
)
Description:
0002-Workaround-for-ALT-flex-changes-ALT-35141.patch
Filename:
MIME Type:
Creator:
Sergey Vlasov
Created:
2018-07-09 19:07:53 MSK
Size:
942 bytes
patch
obsolete
>From c6243844d63b2ff544a53b37dc611567522f1d64 Mon Sep 17 00:00:00 2001 >From: Sergey Vlasov <vsu@altlinux.ru> >Date: Mon, 9 Jul 2018 15:26:51 +0300 >Subject: [PATCH] Workaround for ALT flex changes (ALT#35141) > >Since flex-2.5.37-alt2 the ALT flex package contains a change which >makes the generated parser code different from the upstream version of >flex: the `%{` ... `%}` enclosed code from the rules section is inserted >before the `yylloc` local variable is initialized. As a workaround, >initialize `yylloc` explicitly using the undocumented function parameter >name `yylloc_param`. >--- > lexer/theme-lexer.l | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/lexer/theme-lexer.l b/lexer/theme-lexer.l >index de53f54..1f85e00 100644 >--- a/lexer/theme-lexer.l >+++ b/lexer/theme-lexer.l >@@ -241,6 +241,7 @@ CONFIGURATION (?i:configuration) > %% > > %{ >+yylloc = yylloc_param; /* workaround for flex ALT#35141 */ > YY_LLOC_START > %} > %{ >-- >2.10.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 35140
: 7652