[csdoc-patches] CVS: csdoc/src/csdoc ChangeLog,1.2,1.3 cs-parser.jay,1.1,1.2 cs-tokenizer.cs,1.1,1.2
Status: Planning
Brought to you by:
mastergaurav
|
From: Gaurav V. <mas...@us...> - 2003-02-20 05:40:20
|
Update of /cvsroot/csdoc/csdoc/src/csdoc
In directory sc8-pr-cvs1:/tmp/cvs-serv9928
Modified Files:
ChangeLog cs-parser.jay cs-tokenizer.cs
Log Message:
2003-02-20
* cs-parser.jay : Comment the bogus output.
* cs-tokenizer.cs : Don't remove the '\n' from comment.
Index: ChangeLog
===================================================================
RCS file: /cvsroot/csdoc/csdoc/src/csdoc/ChangeLog,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- ChangeLog 19 Feb 2003 14:05:25 -0000 1.2
+++ ChangeLog 20 Feb 2003 05:40:17 -0000 1.3
@@ -1,4 +1,9 @@
+2003-02-20 Gaurav Vaish <mastergaurav AT users DOT sf DOT net>
+
+ * cs-parser.jay : Comment the bogus output.
+ * cs-tokenizer.cs : Don't remove the '\n' from comment.
+
2003-02-19 Gaurav Vaish <mastergaurav AT users DOT sf DOT net>
* driver.cs : Remove bogus part.
Index: cs-parser.jay
===================================================================
RCS file: /cvsroot/csdoc/csdoc/src/csdoc/cs-parser.jay,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cs-parser.jay 19 Feb 2003 05:50:12 -0000 1.1
+++ cs-parser.jay 20 Feb 2003 05:40:17 -0000 1.2
@@ -830,7 +830,6 @@
method.Block = (Block) $2;
CheckDef (current_container.AddMethod (method), method.Name, method.Location);
- lexer.SaveDocumentFor(method);
current_local_parameters = null;
}
@@ -865,6 +864,10 @@
Method method = new Method ((Expression) $3, (int) $2, (string) $4,
(Parameters) $6, (Attributes) $1, lexer.Location);
+ //System.Console.WriteLine("MethodName : " + method.Name);
+ //System.Console.WriteLine("LexerLocation : " + lexer.Location.Row);
+ //System.Console.WriteLine("MethodLocation: " + method.Location.Row);
+ lexer.SaveDocumentFor(method);
current_local_parameters = (Parameters) $6;
$$ = method;
Index: cs-tokenizer.cs
===================================================================
RCS file: /cvsroot/csdoc/csdoc/src/csdoc/cs-tokenizer.cs,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- cs-tokenizer.cs 19 Feb 2003 05:50:12 -0000 1.1
+++ cs-tokenizer.cs 20 Feb 2003 05:40:17 -0000 1.2
@@ -1627,6 +1627,7 @@
col++;
}
if (d == '\n'){
+ commentString += '\n';
line++;
ref_line++;
col = 0;
@@ -1645,6 +1646,7 @@
}
commentString += (char)d;
if (d == '\n'){
+ commentString += '\n';
line++;
ref_line++;
col = 0;
|