Skip to content

Commit

Permalink
Add new template for legacy types
Browse files Browse the repository at this point in the history
Types in here should be collected to be phased out of use.
The first is the infamous non-boolean yesnostring used by several component with different names.
  • Loading branch information
jrha committed Apr 11, 2016
1 parent fa18efa commit b1b0240
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pan/legacy.pan
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
declaration template quattor/types/legacy;

type legacy_binary_affirmation_string = string with match(SELF, "^(yes|no)$");
1 change: 1 addition & 0 deletions pan/types.pan
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Data type and function definitions for the following basic types:

declaration template pan/types;

include 'pan/legacy';

@documentation{
This type implements a date/time format consistent with
Expand Down

0 comments on commit b1b0240

Please sign in to comment.