[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[7073] parsetexi update
From: |
Gavin D. Smith |
Subject: |
[7073] parsetexi update |
Date: |
Mon, 28 Mar 2016 11:44:35 +0000 |
Revision: 7073
http://svn.sv.gnu.org/viewvc/?view=rev&root=texinfo&revision=7073
Author: gavin
Date: 2016-03-28 11:44:35 +0000 (Mon, 28 Mar 2016)
Log Message:
-----------
parsetexi update
Modified Paths:
--------------
trunk/tp/parsetexi/ChangeLog
trunk/tp/parsetexi/Makefile.am
trunk/tp/parsetexi/command_data.awk
Modified: trunk/tp/parsetexi/ChangeLog
===================================================================
--- trunk/tp/parsetexi/ChangeLog 2016-03-28 11:17:47 UTC (rev 7072)
+++ trunk/tp/parsetexi/ChangeLog 2016-03-28 11:44:35 UTC (rev 7073)
@@ -1,3 +1,11 @@
+2016-03-28 Gavin Smith <address@hidden>
+
+ * Makefile.am: Disable standalone parsetexi program, as building it
+ doesn't work.
+ * command_data.awk: Fix command data for commands given by
+ backslash escapes.
+
+
2016-03-27 Gavin Smith <address@hidden>
Replace MakeMaker build system with automake/libtool one, copied
Modified: trunk/tp/parsetexi/Makefile.am
===================================================================
--- trunk/tp/parsetexi/Makefile.am 2016-03-28 11:17:47 UTC (rev 7072)
+++ trunk/tp/parsetexi/Makefile.am 2016-03-28 11:44:35 UTC (rev 7073)
@@ -15,7 +15,7 @@
.xs.c:
$(XSUBPP) $(XSUBPPARGS) $< > $*.xsc && mv $*.xsc $*.c
-bin_PROGRAMS=parsetexi
+# bin_PROGRAMS=parsetexi
xs_LTLIBRARIES = Parsetexi.la
CLEANFILES += Parsetexi.c
@@ -68,7 +68,7 @@
errors.c errors.h \
counter.c counter.h
-parsetexi_SOURCES=$(libparsetexi_a_SOURCES) main.c
+# parsetexi_SOURCES=$(libparsetexi_a_SOURCES) main.c
BUILT_SOURCES=element_types.c element_types.h \
Modified: trunk/tp/parsetexi/command_data.awk
===================================================================
--- trunk/tp/parsetexi/command_data.awk 2016-03-28 11:17:47 UTC (rev 7072)
+++ trunk/tp/parsetexi/command_data.awk 2016-03-28 11:44:35 UTC (rev 7073)
@@ -100,11 +100,13 @@
}
!/^$/ && !/^#/ {
- if ($1 in bs_escapes)
- commands[bs_escapes[$1]] = $2
- else
- commands[$1] = $2
- data[$1] = $3
+ if ($1 in bs_escapes) {
+ c = bs_escapes[$1]
+ } else {
+ c = $1
+ }
+ commands[c] = $2
+ data[c] = $3
}
END {
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [7073] parsetexi update,
Gavin D. Smith <=