[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, comment, updated. gawk-4.1.0-798-g2323f9
From: |
Stephen Davies |
Subject: |
[gawk-diffs] [SCM] gawk branch, comment, updated. gawk-4.1.0-798-g2323f97 |
Date: |
Sat, 13 Sep 2014 03:25:02 +0000 |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".
The branch, comment has been updated
via 2323f97d55a79c302457d75443b2ffd529983083 (commit)
via bfc92908704856d136b8eee3a03ea7f6bb868c2e (commit)
from f671c30534a2e3b0675f81cbb82f0d0e82ace6c3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=2323f97d55a79c302457d75443b2ffd529983083
commit 2323f97d55a79c302457d75443b2ffd529983083
Merge: bfc9290 f671c30
Author: Stephen Davies <address@hidden>
Date: Sat Sep 13 12:54:26 2014 +0930
Merge branch 'comment' of ssh://git.sv.gnu.org/srv/git/gawk into comment
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=bfc92908704856d136b8eee3a03ea7f6bb868c2e
commit bfc92908704856d136b8eee3a03ea7f6bb868c2e
Author: Stephen Davies <address@hidden>
Date: Sat Sep 13 12:53:02 2014 +0930
ChangeLog
diff --git a/ChangeLog b/ChangeLog
index 62e23d3..11b4261 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,38 @@
+2014-09-13 Stephen Davies <address@hidden>
+ When doing pretty-print (but not profiling), include the original
comments in the output.
+ General rules:
+ Pretty priting:
+ - Do NOT indent by a tab
+ - Do NOT print the header comments ("# BEGIN rules", etc.)
+ - DO print the comments that are in the program
+
+ Profiling:
+ - DO indent by a tab
+ - DO print the header comments
+ - Do NOT print the program's original comments
+
+ *awkgram.y: add variables comment0 and commentf as pointers to
program and function comments
+ add function get_comment (retrieve consecutive comment
lines and empty lines as a unit)
+ add function split_comment (iff first block in the
program is a function and it is predeeded by comments,
+ take the last non-blank line as function comment and
any preceeding lines as program comment.)
+
+ Following token rules were changed to handle comments:
+ pattern, LEX_BEGIN, LEX_END, LEX_BEGINFILE,
LEX_ENDFILE, action, function_prologue and statements.
+
+ Following functions were changed to handle comments:
+ mk_program, mk_function, allow_newline and yylex.
(Also fixed typo in case '\\'.)
+
+ *profile.c
+ added function print_comment to format comment printing.
+
+ Following functions were changed to handle comments and
the revised indent rules:
+ indent, pprint, dump_prog, pp_func.
+
+ *test/Makefile(.am and .in)
+ Change processing of profile4 and profile5 to not
delete first two lines (no longer necessary).
+
+ *profile4.ok and profile5.ok changed to suit new rules and comments.
+
2014-09-07 Arnold D. Robbins <address@hidden>
* awk.h: Move libsigsegv stuff to ...
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, comment, updated. gawk-4.1.0-798-g2323f97,
Stephen Davies <=