summary refs log tree commit diff stats
path: root/nim/nversion.pas
blob: c9bdd24fbcfaf3a720f931174d517cfb490b08cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
//
//           The Nimrod Compiler
//        (c) Copyright 2008 Andreas Rumpf
//
//    See the file "copying.txt", included in this
//    distribution, for details about the copyright.
//

unit nversion;

// this unit implements the version handling

interface

{$include 'config.inc'}

uses
  strutils;

const
  MaxSetElements = 1 shl 16; // (2^16) to support unicode character sets?
  defaultAsmMarkerSymbol = '!';

  //[[[cog
  //from koch import NIMROD_VERSION
  //from string import split
  //cog.outl("VersionAsString = '%s';" % NIMROD_VERSION)
  //ver = split(NIMROD_VERSION, '.')
  //cog.outl('VersionMajor = %s;' % ver[0])
  //cog.outl('VersionMinor = %s;' % ver[1])
  //cog.outl('VersionPatch = %s;' % ver[2])
  //]]]
  VersionAsString = '0.8.3';
  VersionMajor = 0;
  VersionMinor = 8;
  VersionPatch = 3;
  //[[[[end]]]]

implementation

end.