Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 119406
Collapse All | Expand All

(-)/usr/bin/code2html (-64 / +64 lines)
Lines 1386-1390 Link Here
1386
					    'esc character'          => { 'start' => '<font color="#77dd77">',
1386
					    'esc character'          => { 'start' => '<font color="#77dd77">',
1387
									  'stop'  => '</font>' },
1387
									  'stop'  => '</font>' },
1388
					    'numeric'                => { 'start' => '<font color="#FF0000">',
1388
					    'numeric'                => { 'start' => '<font color="#ff0000">',
1389
									  'stop'  => '</font>' },
1389
									  'stop'  => '</font>' },
1390
					    
1390
					    
Lines 1401-1425 Link Here
1401
					    'reserved word'          => { 'start' => '<strong>',
1401
					    'reserved word'          => { 'start' => '<strong>',
1402
									  'stop'  => '</strong>' },
1402
									  'stop'  => '</strong>' },
1403
					    'library function'       => { 'start' => '<font color="a52a2a"><strong>',
1403
					    'library function'       => { 'start' => '<font color="#a52a2a"><strong>',
1404
									  'stop'  => '</strong></font>' },
1404
									  'stop'  => '</strong></font>' },
1405
					    
1405
					    
1406
					    'include'                => { 'start' => '<font color="0000ff"><strong>',
1406
					    'include'                => { 'start' => '<font color="#0000ff"><strong>',
1407
									  'stop'  => '</strong></font>' },
1407
									  'stop'  => '</strong></font>' },
1408
					    'preprocessor'           => { 'start' => '<font color="0000ff"><strong>',
1408
					    'preprocessor'           => { 'start' => '<font color="#0000ff"><strong>',
1409
									  'stop'  => '</strong></font>' },
1409
									  'stop'  => '</strong></font>' },
1410
					    
1410
					    
1411
					    'braces'                 => { 'start' => '<font color="4444FF"><strong>',
1411
					    'braces'                 => { 'start' => '<font color="#4444ff"><strong>',
1412
									  'stop'  => '</strong></font>' },
1412
									  'stop'  => '</strong></font>' },
1413
					    'symbol'                 => { 'start' => '<font color="4444FF">',
1413
					    'symbol'                 => { 'start' => '<font color="#4444ff">',
1414
							 	  	  'stop'  => '</font>' },
1414
							 	  	  'stop'  => '</font>' },
1415
1415
1416
					    'function header'        => { 'start' => '<strong>',
1416
					    'function header'        => { 'start' => '<strong>',
1417
									  'stop'  => '</strong>' },
1417
									  'stop'  => '</strong>' },
1418
					    'function header name'   => { 'start' => '<font color="ff0000">',
1418
					    'function header name'   => { 'start' => '<font color="#ff0000">',
1419
									  'stop'  => '</font>' },
1419
									  'stop'  => '</font>' },
1420
					    'function header args'   => { 'start' => '<font color="2040a0">',
1420
					    'function header args'   => { 'start' => '<font color="#2040a0">',
1421
									  'stop'  => '</font>' },
1421
									  'stop'  => '</font>' },
1422
					    
1422
					    
1423
					    'regex'                  => { 'start' => '<font color="b000d0">',
1423
					    'regex'                  => { 'start' => '<font color="#b000d0">',
1424
									  'stop'  => '</font>' },
1424
									  'stop'  => '</font>' },
1425
					    
1425
					    
Lines 1428-1460 Link Here
1428
1428
1429
					    # HTML
1429
					    # HTML
1430
					    'entity'                 => { 'start' => '<font color="ff0000">',
1430
					    'entity'                 => { 'start' => '<font color="#ff0000">',
1431
									  'stop'  => '</font>' },
1431
									  'stop'  => '</font>' },
1432
1432
1433
					    # MAKEFILE
1433
					    # MAKEFILE
1434
					    'assignment'             => { 'start' => '<font color="2040a0">',
1434
					    'assignment'             => { 'start' => '<font color="#2040a0">',
1435
									  'stop'  => '</font>' },
1435
									  'stop'  => '</font>' },
1436
					    'dependency line'        => { 'start' => '<font color="8b2252">',
1436
					    'dependency line'        => { 'start' => '<font color="#8b2252">',
1437
									  'stop'  => '</font>' },
1437
									  'stop'  => '</font>' },
1438
					    'dependency target'      => { 'start' => '<strong>',
1438
					    'dependency target'      => { 'start' => '<strong>',
1439
									  'stop'  => '</strong>' },
1439
									  'stop'  => '</strong>' },
1440
					    'dependency continuation'=> { 'start' => '<font color="000000"><strong>',
1440
					    'dependency continuation'=> { 'start' => '<font color="#000000"><strong>',
1441
									  'stop'  => '</strong></font>' },
1441
									  'stop'  => '</strong></font>' },
1442
					    'continuation'           => { 'start' => '<strong>',
1442
					    'continuation'           => { 'start' => '<strong>',
1443
									  'stop'  => '</strong>' },
1443
									  'stop'  => '</strong>' },
1444
					    'macro'                  => { 'start' => '<font color="2040a0">',
1444
					    'macro'                  => { 'start' => '<font color="#2040a0">',
1445
									  'stop'  => '</font>' },
1445
									  'stop'  => '</font>' },
1446
					    'int macro'              => { 'start' => '<font color="4080ff">',
1446
					    'int macro'              => { 'start' => '<font color="#4080ff">',
1447
									  'stop'  => '</font>' },
1447
									  'stop'  => '</font>' },
1448
					    'esc $$$'                => { 'start' => '<font color="444444">',
1448
					    'esc $$$'                => { 'start' => '<font color="#444444">',
1449
                                                                          'stop'  => '</font>' },
1449
                                                                          'stop'  => '</font>' },
1450
1450
1451
                                            # PATCH
1451
                                            # PATCH
1452
                                            'separator'              => { 'start' => '<font color="00A040"><strong>',
1452
                                            'separator'              => { 'start' => '<font color="#00a040"><strong>',
1453
                                                                          'stop'  => '</strong></font>' },
1453
                                                                          'stop'  => '</strong></font>' },
1454
                                            'line spec'              => { 'start' => '<font color="A0A000"><strong>',
1454
                                            'line spec'              => { 'start' => '<font color="#a0a000"><strong>',
1455
                                                                          'stop'  => '</strong></font>' },
1455
                                                                          'stop'  => '</strong></font>' },
1456
                                            'deletion'               => { 'start' => '<font color="FF0000"><strong>',
1456
                                            'deletion'               => { 'start' => '<font color="#ff0000"><strong>',
1457
                                                                          'stop'  => '</strong></font>' },
1457
                                                                          'stop'  => '</strong></font>' },
1458
                                            'insertion'              => { 'start' => '<font color="0000FF"><strong>',
1458
                                            'insertion'              => { 'start' => '<font color="#0000ff"><strong>',
1459
                                                                          'stop'  => '</strong></font>' }
1459
                                                                          'stop'  => '</strong></font>' }
1460
1460
Lines 1496-1500 Link Here
1496
  <title>%%title%%</title>
1496
  <title>%%title%%</title>
1497
</head>
1497
</head>
1498
<body bgcolor="#000000"  text="#C0C0C0" vlink="#FFFFFF" alink="#00FF00" link="#FFFFFF">
1498
<body bgcolor="#000000"  text="#c0c0c0" vlink="#ffffff" alink="#00ff00" link="#ffffff">
1499
<pre>
1499
<pre>
1500
%%code%%
1500
%%code%%
Lines 1518-1525 Link Here
1518
                                            'esc character'          => { 'start' => '<font color="#77dd77">',
1518
                                            'esc character'          => { 'start' => '<font color="#77dd77">',
1519
                                                                          'stop'  => '</font>' },
1519
                                                                          'stop'  => '</font>' },
1520
                                            'numeric'                => { 'start' => '<font color="#FF0000">',
1520
                                            'numeric'                => { 'start' => '<font color="#ff0000">',
1521
                                                                          'stop'  => '</font>' },
1521
                                                                          'stop'  => '</font>' },
1522
                                           
1522
                                           
1523
                                            'identifier'             => { 'start' => '<font color="#B0B0B0">',
1523
                                            'identifier'             => { 'start' => '<font color="#b0b0b0">',
1524
                                                                          'stop'  => '</font>' },
1524
                                                                          'stop'  => '</font>' },
1525
                                            'predefined identifier'  => { 'start' => '<font color="#2040a0"><strong>',
1525
                                            'predefined identifier'  => { 'start' => '<font color="#2040a0"><strong>',
Lines 1533-1542 Link Here
1533
                                            'reserved word'          => { 'start' => '<strong>',
1533
                                            'reserved word'          => { 'start' => '<strong>',
1534
                                                                          'stop'  => '</strong>' },
1534
                                                                          'stop'  => '</strong>' },
1535
                                            'library function'       => { 'start' => '<font color="a52a2a"><strong>',
1535
                                            'library function'       => { 'start' => '<font color="#a52a2a"><strong>',
1536
                                                                          'stop'  => '</strong></font>' },
1536
                                                                          'stop'  => '</strong></font>' },
1537
                                            
1537
                                            
1538
                                            'include'                => { 'start' => '<font color="#00FF00">',
1538
                                            'include'                => { 'start' => '<font color="#00ff00">',
1539
                                                                          'stop'  => '</font>' },
1539
                                                                          'stop'  => '</font>' },
1540
                                            'preprocessor'           => { 'start' => '<font color="#00FF00">',
1540
                                            'preprocessor'           => { 'start' => '<font color="#00ff00">',
1541
                                                                          'stop'  => '</font>' },
1541
                                                                          'stop'  => '</font>' },
1542
                                            
1542
                                            
Lines 1548-1557 Link Here
1548
                                            'function header'        => { 'start' => '<strong>',
1548
                                            'function header'        => { 'start' => '<strong>',
1549
                                                                          'stop'  => '</strong>' },
1549
                                                                          'stop'  => '</strong>' },
1550
                                            'function header name'   => { 'start' => '<font color="ff0000">',
1550
                                            'function header name'   => { 'start' => '<font color="#ff0000">',
1551
                                                                          'stop'  => '</font>' },
1551
                                                                          'stop'  => '</font>' },
1552
                                            'function header args'   => { 'start' => '<font color="2040a0">',
1552
                                            'function header args'   => { 'start' => '<font color="#2040a0">',
1553
                                                                          'stop'  => '</font>' },
1553
                                                                          'stop'  => '</font>' },
1554
                                            
1554
                                            
1555
                                            'regex'                  => { 'start' => '<font color="b000d0">',
1555
                                            'regex'                  => { 'start' => '<font color="#b000d0">',
1556
                                                                          'stop'  => '</font>' },
1556
                                                                          'stop'  => '</font>' },
1557
                                            
1557
                                            
Lines 1560-1592 Link Here
1560
1560
1561
                                            # HTML
1561
                                            # HTML
1562
                                            'entity'                 => { 'start' => '<font color="ff0000">',
1562
                                            'entity'                 => { 'start' => '<font color="#ff0000">',
1563
                                                                          'stop'  => '</font>' },
1563
                                                                          'stop'  => '</font>' },
1564
1564
1565
                                            # MAKEFILE
1565
                                            # MAKEFILE
1566
                                            'assignment'             => { 'start' => '<font color="2040a0">',
1566
                                            'assignment'             => { 'start' => '<font color="#2040a0">',
1567
                                                                          'stop'  => '</font>' },
1567
                                                                          'stop'  => '</font>' },
1568
                                            'dependency line'        => { 'start' => '<font color="8b2252">',
1568
                                            'dependency line'        => { 'start' => '<font color="#8b2252">',
1569
                                                                          'stop'  => '</font>' },
1569
                                                                          'stop'  => '</font>' },
1570
                                            'dependency target'      => { 'start' => '<strong>',
1570
                                            'dependency target'      => { 'start' => '<strong>',
1571
                                                                          'stop'  => '</strong>' },
1571
                                                                          'stop'  => '</strong>' },
1572
                                            'dependency continuation'=> { 'start' => '<font color="000000"><strong>',
1572
                                            'dependency continuation'=> { 'start' => '<font color="#000000"><strong>',
1573
                                                                          'stop'  => '</strong></font>' },
1573
                                                                          'stop'  => '</strong></font>' },
1574
					    'continuation'           => { 'start' => '<strong>',
1574
					    'continuation'           => { 'start' => '<strong>',
1575
									  'stop'  => '</strong>' },
1575
									  'stop'  => '</strong>' },
1576
                                            'macro'                  => { 'start' => '<font color="2040a0">',
1576
                                            'macro'                  => { 'start' => '<font color="#2040a0">',
1577
                                                                          'stop'  => '</font>' },
1577
                                                                          'stop'  => '</font>' },
1578
                                            'int macro'              => { 'start' => '<font color="4080ff">',
1578
                                            'int macro'              => { 'start' => '<font color="#4080ff">',
1579
                                                                          'stop'  => '</font>' },
1579
                                                                          'stop'  => '</font>' },
1580
                                            'esc $$$'                => { 'start' => '<font color="444444">',
1580
                                            'esc $$$'                => { 'start' => '<font color="#444444">',
1581
                                                                          'stop'  => '</font>' },
1581
                                                                          'stop'  => '</font>' },
1582
1582
1583
                                            # PATCH
1583
                                            # PATCH
1584
                                            'separator'              => { 'start' => '<font color="00FF00"><strong>',
1584
                                            'separator'              => { 'start' => '<font color="#00ff00"><strong>',
1585
                                                                          'stop'  => '</strong></font>' },
1585
                                                                          'stop'  => '</strong></font>' },
1586
                                            'line spec'              => { 'start' => '<font color="FFFF00"><strong>',
1586
                                            'line spec'              => { 'start' => '<font color="#ffff00"><strong>',
1587
                                                                          'stop'  => '</strong></font>' },
1587
                                                                          'stop'  => '</strong></font>' },
1588
                                            'deletion'               => { 'start' => '<font color="FF0000"><strong>',
1588
                                            'deletion'               => { 'start' => '<font color="#ff0000"><strong>',
1589
                                                                          'stop'  => '</strong></font>' },
1589
                                                                          'stop'  => '</strong></font>' },
1590
                                            'insertion'              => { 'start' => '<font color="0000FF"><strong>',
1590
                                            'insertion'              => { 'start' => '<font color="#0000ff"><strong>',
1591
                                                                          'stop'  => '</strong></font>' }
1591
                                                                          'stop'  => '</strong></font>' }
1592
                                     };
1592
                                     };
Lines 1776-1780 Link Here
1776
  <title>%%title%%</title>
1776
  <title>%%title%%</title>
1777
</head>
1777
</head>
1778
<body bgcolor="#ffffff"  text="#000000" vlink="#0000ff" alink="#00FF00" link="#000000">
1778
<body bgcolor="#ffffff"  text="#000000" vlink="#0000ff" alink="#00ff00" link="#000000">
1779
<pre>
1779
<pre>
1780
%%code%%
1780
%%code%%
Lines 1786-1792 Link Here
1786
';
1786
';
1787
${ $STYLESHEET{'html-fntlck'}} {'tags'} = {
1787
${ $STYLESHEET{'html-fntlck'}} {'tags'} = {
1788
					    'comment'                => { 'start' => '<font color="bb0000">',
1788
					    'comment'                => { 'start' => '<font color="#bb0000">',
1789
									  'stop'  => '</font>' },
1789
									  'stop'  => '</font>' },
1790
					    'doc comment'            => { 'start' => '<font color="bb0000"><i>',
1790
					    'doc comment'            => { 'start' => '<font color="#bb0000"><i>',
1791
									  'stop'  => '</i></font>' },
1791
									  'stop'  => '</i></font>' },
1792
					    'string'                 => { 'start' => '<font color="#bb7766">',
1792
					    'string'                 => { 'start' => '<font color="#bb7766">',
Lines 1798-1802 Link Here
1798
					    'esc character'          => { 'start' => '<font color="#cc8877">',
1798
					    'esc character'          => { 'start' => '<font color="#cc8877">',
1799
									  'stop'  => '</font>' },
1799
									  'stop'  => '</font>' },
1800
					    'numeric'                => { 'start' => '<font color="#FF0000">',
1800
					    'numeric'                => { 'start' => '<font color="#ff0000">',
1801
									  'stop'  => '</font>' },
1801
									  'stop'  => '</font>' },
1802
1802
Lines 1811-1837 Link Here
1811
									  'stop'  => '</strong></font>' },
1811
									  'stop'  => '</strong></font>' },
1812
1812
1813
					    'reserved word'          => { 'start' => '<font color="b000e0">',
1813
					    'reserved word'          => { 'start' => '<font color="#b000e0">',
1814
									  'stop'  => '</font>' },
1814
									  'stop'  => '</font>' },
1815
					    'library function'       => { 'start' => '<font color="a52a2a"><strong>',
1815
					    'library function'       => { 'start' => '<font color="#a52a2a"><strong>',
1816
									  'stop'  => '</strong></font>' },
1816
									  'stop'  => '</strong></font>' },
1817
1817
1818
					    'include'                => { 'start' => '<font color="0000ff"><strong>',
1818
					    'include'                => { 'start' => '<font color="#0000ff"><strong>',
1819
									  'stop'  => '</strong></font>' },
1819
									  'stop'  => '</strong></font>' },
1820
					    'preprocessor'           => { 'start' => '<font color="0000ff"><strong>',
1820
					    'preprocessor'           => { 'start' => '<font color="#0000ff"><strong>',
1821
									  'stop'  => '</strong></font>' },
1821
									  'stop'  => '</strong></font>' },
1822
1822
1823
					    'braces'                 => { 'start' => '<font color="4444FF"><strong>',
1823
					    'braces'                 => { 'start' => '<font color="#4444ff"><strong>',
1824
									  'stop'  => '</strong></font>' },
1824
									  'stop'  => '</strong></font>' },
1825
					    'symbol'                 => { 'start' => '<font color="000000">',
1825
					    'symbol'                 => { 'start' => '<font color="#000000">',
1826
							 	  	  'stop'  => '</font>' },
1826
							 	  	  'stop'  => '</font>' },
1827
1827
1828
					    'function header'        => { 'start' => '<strong>',
1828
					    'function header'        => { 'start' => '<strong>',
1829
									  'stop'  => '</strong>' },
1829
									  'stop'  => '</strong>' },
1830
					    'function header name'   => { 'start' => '<font color="ff0000">',
1830
					    'function header name'   => { 'start' => '<font color="#ff0000">',
1831
									  'stop'  => '</font>' },
1831
									  'stop'  => '</font>' },
1832
					    'function header args'   => { 'start' => '<font color="2040a0">',
1832
					    'function header args'   => { 'start' => '<font color="#2040a0">',
1833
									  'stop'  => '</font>' },
1833
									  'stop'  => '</font>' },
1834
1834
1835
					    'regex'                  => { 'start' => '<font color="b000d0">',
1835
					    'regex'                  => { 'start' => '<font color="#b000d0">',
1836
									  'stop'  => '</font>' },
1836
									  'stop'  => '</font>' },
1837
1837
Lines 1840-1872 Link Here
1840
1840
1841
					    # HTML
1841
					    # HTML
1842
					    'entity'                 => { 'start' => '<font color="ff0000">',
1842
					    'entity'                 => { 'start' => '<font color="#ff0000">',
1843
									  'stop'  => '</font>' },
1843
									  'stop'  => '</font>' },
1844
1844
1845
					    # MAKEFILE
1845
					    # MAKEFILE
1846
					    'assignment'             => { 'start' => '<font color="2040a0">',
1846
					    'assignment'             => { 'start' => '<font color="#2040a0">',
1847
									  'stop'  => '</font>' },
1847
									  'stop'  => '</font>' },
1848
					    'dependency line'        => { 'start' => '<font color="8b2252">',
1848
					    'dependency line'        => { 'start' => '<font color="#8b2252">',
1849
									  'stop'  => '</font>' },
1849
									  'stop'  => '</font>' },
1850
					    'dependency target'      => { 'start' => '<strong>',
1850
					    'dependency target'      => { 'start' => '<strong>',
1851
									  'stop'  => '</strong>' },
1851
									  'stop'  => '</strong>' },
1852
					    'dependency continuation'=> { 'start' => '<font color="000000"><strong>',
1852
					    'dependency continuation'=> { 'start' => '<font color="#000000"><strong>',
1853
									  'stop'  => '</strong></font>' },
1853
									  'stop'  => '</strong></font>' },
1854
					    'continuation'           => { 'start' => '<strong>',
1854
					    'continuation'           => { 'start' => '<strong>',
1855
									  'stop'  => '</strong>' },
1855
									  'stop'  => '</strong>' },
1856
					    'macro'                  => { 'start' => '<font color="2040a0">',
1856
					    'macro'                  => { 'start' => '<font color="#2040a0">',
1857
									  'stop'  => '</font>' },
1857
									  'stop'  => '</font>' },
1858
					    'int macro'              => { 'start' => '<font color="4080ff">',
1858
					    'int macro'              => { 'start' => '<font color="#4080ff">',
1859
									  'stop'  => '</font>' },
1859
									  'stop'  => '</font>' },
1860
					    'esc $$$'                => { 'start' => '<font color="444444">',
1860
					    'esc $$$'                => { 'start' => '<font color="#444444">',
1861
							                  'stop'  => '</font>' },
1861
							                  'stop'  => '</font>' },
1862
					    
1862
					    
1863
                                            # PATCH
1863
                                            # PATCH
1864
                                            'separator'              => { 'start' => '<font color="00A040"><strong>',
1864
                                            'separator'              => { 'start' => '<font color="#00a040"><strong>',
1865
                                                                          'stop'  => '</strong></font>' },
1865
                                                                          'stop'  => '</strong></font>' },
1866
                                            'line spec'              => { 'start' => '<font color="A0A000"><strong>',
1866
                                            'line spec'              => { 'start' => '<font color="#a0a000"><strong>',
1867
                                                                          'stop'  => '</strong></font>' },
1867
                                                                          'stop'  => '</strong></font>' },
1868
                                            'deletion'               => { 'start' => '<font color="FF0000"><strong>',
1868
                                            'deletion'               => { 'start' => '<font color="#ff0000"><strong>',
1869
                                                                          'stop'  => '</strong></font>' },
1869
                                                                          'stop'  => '</strong></font>' },
1870
                                            'insertion'              => { 'start' => '<font color="0000FF"><strong>',
1870
                                            'insertion'              => { 'start' => '<font color="#0000ff"><strong>',
1871
                                                                          'stop'  => '</strong></font>' }
1871
                                                                          'stop'  => '</strong></font>' }
1872
1872

Return to bug 119406