File: doxygen-0.4.diff

package info (click to toggle)
ale-clone 1.15pre16.3-1
  • links: PTS
  • area: contrib
  • in suites: potato
  • size: 2,432 kB
  • ctags: 3,217
  • sloc: ansic: 37,483; sh: 1,105; makefile: 343
file content (44 lines) | stat: -rw-r--r-- 1,820 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
diff -U 2 -p -r -x *.o doxygen-0.4/src/scanner.l doxygen-0.4-johns/src/scanner.l
--- doxygen-0.4/src/scanner.l	Thu Dec  3 15:09:32 1998
+++ doxygen-0.4-johns/src/scanner.l	Thu Dec 17 02:45:46 1998
@@ -1061,8 +1061,8 @@ VAR	  [vV][aA][rR]
 <DocScan>"\\b"{BN}+			{ BEGIN( DocBold ); }
 <DocScan>"\\c"{BN}+                     { BEGIN( DocCode ); }
-<DocScan>"\\l"{BN}+		
+<DocScan>"\\l"{BN}+	
 <DocScan>"\\include"{BN}+		{ BEGIN( DocInclude ); }
 <DocScan>"\\dontinclude"{BN}+		{ BEGIN( DocDontInclude ); }
-<DocScan>"\\skip"{BN}+		 	{ BEGIN( DocSkipKey ); }	
+<DocScan>"\\skip"{BN}+		 	{ BEGIN( DocSkipKey ); }
 <DocScan>"\\skipline"{BN}+		{ BEGIN( DocSkiplineKey ); firstLine=TRUE; }
 <DocScan>"\\line"{BN}+			{ BEGIN( DocLineKey ); firstLine=TRUE; }
@@ -1121,5 +1121,5 @@ VAR	  [vV][aA][rR]
 					  BEGIN( DocScan );
   					}
-<DocScan>"<"{MULTICOL}{ATTR}">"		
+<DocScan>"<"{MULTICOL}{ATTR}">"	
 <DocScan>"</"{MULTICOL}{ATTR}">"
 <DocScan>"<"{STRONG}{ATTR}">"		{ outDoc->startBold(); }
@@ -1140,6 +1140,6 @@ VAR	  [vV][aA][rR]
 <DocScan>"<"{FORM}{ATTR}">"
 <DocScan>"</"{FORM}{ATTR}">"
-<DocScan>"<"{HEAD}{ATTR}">"			
-<DocScan>"</"{HEAD}{ATTR}">"			
+<DocScan>"<"{HEAD}{ATTR}">"		
+<DocScan>"</"{HEAD}{ATTR}">"		
 <DocScan>"<"{BODY}{ATTR}">"
 <DocScan>"</"{BODY}{ATTR}">"
@@ -2586,4 +2586,7 @@ VAR	  [vV][aA][rR]
 					}
 <Doc>.					{ current->doc += *yytext; }
+<Doc>\n[ \t]*"*"+[ \t]+                 { current->doc += '\n' ;
+                                          yyLineNr++ ;
+					}
 <DefLineDoc,LineDoc>.			{ current->brief += *yytext; }
 <Doc>\n					{ yyLineNr++; current->doc += *yytext; }
@@ -2602,4 +2605,5 @@ VAR	  [vV][aA][rR]
                                           if (afterDocTerminator!=0)
 					    unput(afterDocTerminator);
+					  unput('\n');
 					  BEGIN(lastAfterDocContext);
   					}