aboutsummaryrefslogtreecommitdiffstats
path: root/src/files_map.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2017-03-14 07:02:02 +0100
committerTristan Gingold <tgingold@free.fr>2017-03-14 07:02:02 +0100
commitf6f792afaab6f8a58a06dcbfd67f0c2bcb1dbe3a (patch)
tree1e716aca163b681dd053506d3293e8fb186e04b1 /src/files_map.ads
parenta9f8777e0fbb1b4ff5d8f6f7219a07782d755a4a (diff)
downloadghdl-f6f792afaab6f8a58a06dcbfd67f0c2bcb1dbe3a.tar.gz
ghdl-f6f792afaab6f8a58a06dcbfd67f0c2bcb1dbe3a.tar.bz2
ghdl-f6f792afaab6f8a58a06dcbfd67f0c2bcb1dbe3a.zip
Add Tab_Stop variable.
For #314
Diffstat (limited to 'src/files_map.ads')
-rw-r--r--src/files_map.ads7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/files_map.ads b/src/files_map.ads
index d06805948..55933ebc3 100644
--- a/src/files_map.ads
+++ b/src/files_map.ads
@@ -22,6 +22,13 @@ with Nodes;
package Files_Map is
+ -- Range for Tab_Stop.
+ subtype Tab_Stop_Range is Natural range 1 .. 120;
+
+ -- Tab width: a tab character jumps to the next column that is one plus a
+ -- multiple of this witdh (if columns are numbered from 1).
+ Tab_Stop : Tab_Stop_Range := 8;
+
-- Create the path from DIRECTORY and NAME:
-- If NAME is an absolute pathname, then return NAME.
-- Otherwise, return the concatenation of DIRECTORY and NAME.