Skip to content

Commit ca3b2d7

Browse files
pt - pt::peg - B - Fix typo in error return. Version bumped to 1.1.1
1 parent d57767e commit ca3b2d7

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

embedded/md/tcllib/files/modules/pt/pt_pegrammar.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
[//000000001]: # (pt::peg \- Parser Tools)
33
[//000000002]: # (Generated from file 'pt\_pegrammar\.man' by tcllib/doctools with format 'markdown')
44
[//000000003]: # (Copyright &copy; 2009 Andreas Kupries <andreas\_kupries@users\.sourceforge\.net>)
5-
[//000000004]: # (pt::peg\(n\) 1\.1 tcllib "Parser Tools")
5+
[//000000004]: # (pt::peg\(n\) 1\.1\.1 tcllib "Parser Tools")
66

77
<hr> [ <a href="../../../../toc.md">Main Table Of Contents</a> &#124; <a
88
href="../../../toc.md">Table Of Contents</a> &#124; <a

idoc/man/files/modules/pt/pt_pegrammar.n

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
'\" Generated from file 'pt_pegrammar\&.man' by tcllib/doctools with format 'nroff'
33
'\" Copyright (c) 2009 Andreas Kupries <andreas_kupries@users\&.sourceforge\&.net>
44
'\"
5-
.TH "pt::peg" n 1\&.1 tcllib "Parser Tools"
5+
.TH "pt::peg" n 1\&.1\&.1 tcllib "Parser Tools"
66
.\" The -*- nroff -*- definitions below are for supplemental macros used
77
.\" in Tcl/Tk manual entries.
88
.\"

idoc/www/tcllib/files/modules/pt/pt_pegrammar.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
&#124; <a href="../../../../toc2.html">Applications</a>
110110
] <hr>
111111
<div class="doctools">
112-
<h1 class="doctools_title">pt::peg(n) 1.1 tcllib &quot;Parser Tools&quot;</h1>
112+
<h1 class="doctools_title">pt::peg(n) 1.1.1 tcllib &quot;Parser Tools&quot;</h1>
113113
<div id="name" class="doctools_section"><h2><a name="name">Name</a></h2>
114114
<p>pt::peg - Parsing Expression Grammar Serialization</p>
115115
</div>

modules/pt/pkgIndex.tcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ package ifneeded pt::pe 1.0.3 [list source [file join $dir pt_pexpression
1616
package ifneeded pt::pe::op 1.0.2 [list source [file join $dir pt_pexpr_op.tcl]]
1717

1818
# Parsing Expression Grammar support.
19-
package ifneeded pt::peg 1.1 [list source [file join $dir pt_pegrammar.tcl]]
20-
package ifneeded pt::peg::container 1.1 [list source [file join $dir pt_peg_container.tcl]]
19+
package ifneeded pt::peg 1.1.1 [list source [file join $dir pt_pegrammar.tcl]]
20+
package ifneeded pt::peg::container 1.1 [list source [file join $dir pt_peg_container.tcl]]
2121
package ifneeded pt::peg::interp 1.0.2 [list source [file join $dir pt_peg_interp.tcl]]
2222
package ifneeded pt::peg::op 1.2.0 [list source [file join $dir pt_peg_op.tcl]]
2323
package ifneeded pt::parse::peg 1.0.3 [list source [file join $dir pt_parse_peg.tcl]]

modules/pt/pt_pegrammar.man

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[comment {-*- text -*- doctools manpage}]
2-
[manpage_begin pt::peg n 1.1]
2+
[manpage_begin pt::peg n 1.1.1]
33
[include include/module.inc]
44
[titledesc {Parsing Expression Grammar Serialization}]
55
[require pt::peg [opt 1.1]]

modules/pt/pt_pegrammar.tcl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# -*- tcl -*-
2-
# Copyright (c) 2009 Andreas Kupries <andreas_kupries@sourceforge.net>
2+
# Copyright (c) 2009,2024 Andreas Kupries <andreas_kupries@sourceforge.net>
33

44
# Verification of serialized PEGs, and conversion between
55
# serializations and other data structures.
@@ -201,7 +201,7 @@ proc ::pt::peg::merge {seriala serialb} {
201201
array set sdb $rb($symbol)
202202

203203
if {$sda(mode) ne $sdb(mode)} {
204-
return -code "Merge error for nonterminal \"$symbol\", semantic mode mismatch"
204+
return -code error "Merge error for nonterminal \"$symbol\", semantic mode mismatch"
205205
}
206206

207207
# Merge parsing expressions, if not identical ...
@@ -376,5 +376,5 @@ namespace eval ::pt::peg {
376376
# # ## ### ##### ######## ############# #####################
377377
## Ready
378378

379-
package provide pt::peg 1.1
379+
package provide pt::peg 1.1.1
380380
return

0 commit comments

Comments
 (0)