1
0
mirror of https://github.com/wfjm/w11.git synced 2026-03-09 20:48:30 +00:00

xviv_msg_filter: allow {yyyy.x} tags (in addition to ranges)

This commit is contained in:
wfjm
2018-08-18 08:28:10 +02:00
parent b6074a354f
commit a8a1ed271b
2 changed files with 13 additions and 4 deletions

View File

@@ -19,6 +19,7 @@ software or firmware builds or that the documentation is consistent.
The full set of tests is only run for tagged releases.
### Summary
- xviv_msg_filter: allow {yyyy.x} tags (in addition to ranges)
<!-- --------------------------------------------------------------------- -->
---
@@ -28,11 +29,12 @@ The full set of tests is only run for tagged releases.
- The license disclaimers in the source files referred so far to GPL V2 or later
They are now consistent with the License.txt file, which refers to GPL V3.
- Add Digilent Cmod A7 (35 die size) support
- Add [INSTALL_quickstart](INSTALL_quickstart.md)
- get vivado 2017.1 ready
- Added Unix 7th Edition oskit; rename 5th Edition kit
- u5ed_rk: renamed from unix-v5_rk
- u7ed_rp: added, very preliminary, boots on CmodA7, further testing needed
### New features
- Add Digilent Cmod A7 (35 die size) support
- general board support

View File

@@ -1,7 +1,7 @@
#!/usr/bin/perl -w
# $Id: xviv_msg_filter 985 2018-01-03 08:59:40Z mueller $
# $Id: xviv_msg_filter 1039 2018-08-12 10:04:09Z mueller $
#
# Copyright 2016-2017 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
# Copyright 2016-2018 by Walter F.J. Mueller <W.F.J.Mueller@gsi.de>
#
# This program is free software; you may redistribute and/or modify it under
# the terms of the GNU General Public License as published by the Free
@@ -14,7 +14,8 @@
#
# Revision History:
# Date Rev Version Comment
# 2017-06-06 909 1,1 add version-range tags
# 2018-08-11 1039 1.1.1 allow {yyyy.x} tags (in addition to ranges)
# 2017-06-06 909 1.1 add version-range tags
# 2016-06-04 772 1.0 Initial version
#
@@ -223,6 +224,12 @@ sub read_mfs {
next unless $intyp; # only process relevant lines
if (m/\{(\d{4}\.\d)}/) { # {ver} tag found
$vermin = $1;
$vermax = $1;
next;
}
if (m/\{(\d{4}\.\d)?:(\d{4}\.\d)?\}/) { # {vermin:varmax} tag found
$vermin = (defined $1) ? $1 : "0000.0";
$vermax = (defined $2) ? $2 : "9999.9";