Fixes recursion bug in disambiguate_in().
[ohcount] / doc / html / detector_doc.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
3 <title>ohcount: Detector Documentation</title>
4 <link href="tabs.css" rel="stylesheet" type="text/css">
5 <link href="doxygen.css" rel="stylesheet" type="text/css">
6 </head><body>
7 <!-- Generated by Doxygen 1.5.9 -->
8 <div class="navigation" id="top">
9   <div class="tabs">
10     <ul>
11       <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
12       <li class="current"><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
13       <li><a href="annotated.html"><span>Data&nbsp;Structures</span></a></li>
14       <li><a href="files.html"><span>Files</span></a></li>
15     </ul>
16   </div>
17 </div>
18 <div class="contents">
19 <h1><a class="anchor" name="detector_doc">Detector Documentation </a></h1><h2><a class="anchor" name="language">
20 How to Add a New Language</a></h2>
21 <ul>
22 <li>Add your language to 'src/languages.h' and 'src/hash/languages.gperf'. </li>
23 <li>Update 'src/hash/extensions.gperf' to identify files that use the new language (or 'src/hash/filenames.gperf'). </li>
24 <li>Regenerate the hash header files with 'src/hash/generate_headers'. </li>
25 <li>Add your tests to 'test/unit/detector_test.h', rebuild the tests, and run them to confirm the detector changes. </li>
26 <li>Follow the detailed instructions in the Parser Documentation. </li>
27 <li>Rebuild Ohcount. </li>
28 </ul>
29 </div>
30 <hr size="1"><address style="text-align: right;"><small>Generated on Fri Aug 28 15:20:08 2009 for ohcount by&nbsp;
31 <a href="http://www.doxygen.org/index.html">
32 <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.9 </small></address>
33 </body>
34 </html>