Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 86744 Details for
Bug 133176
code2html does not recognize Ada identifiers (partial fix attached)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch that fixes the problem for me if I have LANG set to swedish.
ada_identifiers_fix-2.diff (text/plain), 1.59 KB, created by
Erik
on 2006-05-14 04:41:34 UTC
(
hide
)
Description:
Patch that fixes the problem for me if I have LANG set to swedish.
Filename:
MIME Type:
Creator:
Erik
Created:
2006-05-14 04:41:34 UTC
Size:
1.59 KB
patch
obsolete
>--- code2html 2006-05-13 03:17:35.000000000 +0200 >+++ code2html.ada_identifiers_fixed 2006-05-14 12:19:23.000000000 +0200 >@@ -1,3 +1,4 @@ > #!/usr/bin/perl -w >+use locale; > my $vernr = "0.9.1"; > my $monthshort = "Jan"; >@@ -1326,4 +1327,5 @@ > '<html> > <head> >+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> > <title>%%title%%</title> > </head> >@@ -1474,4 +1476,5 @@ > ${ $STYLESHEET{'html-nobg'}} {'template'} = '<html> > <head> >+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> > <title>%%title%%</title> > </head> >@@ -1494,4 +1497,5 @@ > ${ $STYLESHEET{'html-dark'}} {'template'} = '<html> > <head> >+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> > <title>%%title%%</title> > </head> >@@ -1751,4 +1755,5 @@ > ${ $STYLESHEET{'html-simple'}} {'template'} = '<html> > <head> >+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> > <title>%%title%%</title> > </head> >@@ -1774,4 +1779,5 @@ > ${ $STYLESHEET{'html-fntlck'}} {'template'} = '<html> > <head> >+ <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"> > <title>%%title%%</title> > </head> >@@ -1968,5 +1974,5 @@ > { > 'name' => 'Identifiers', >- 'regex' => '\\b[a-zA-Z][a-zA-Z0-9_]*\\b', >+ 'regex' => '\\b[[:alpha:]](?:_?[^\W_])*\\b', > 'style' => 'identifier', > 'childregex' => []
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 133176
:
86687
|
86708
| 86744