aboutsummaryrefslogtreecommitdiffstats
path: root/src/ghdldrv/ghdlmain.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-06-02 09:18:15 +0200
committerTristan Gingold <tgingold@free.fr>2019-06-03 06:43:51 +0200
commitedfccd332a56771311fefdbfcffcf269c8026aba (patch)
tree6bab8f5f9b123f1daf78487403838f17ab2b5bec /src/ghdldrv/ghdlmain.ads
parent6aa66fc7a9bee40e9a3d87bad712d654caad411c (diff)
downloadghdl-edfccd332a56771311fefdbfcffcf269c8026aba.tar.gz
ghdl-edfccd332a56771311fefdbfcffcf269c8026aba.tar.bz2
ghdl-edfccd332a56771311fefdbfcffcf269c8026aba.zip
vhdl-formatters: add range for indent.
Diffstat (limited to 'src/ghdldrv/ghdlmain.ads')
-rw-r--r--src/ghdldrv/ghdlmain.ads3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ghdldrv/ghdlmain.ads b/src/ghdldrv/ghdlmain.ads
index f5ac4b05d..226dc9f94 100644
--- a/src/ghdldrv/ghdlmain.ads
+++ b/src/ghdldrv/ghdlmain.ads
@@ -69,6 +69,9 @@ package Ghdlmain is
procedure Error (Msg : String);
procedure Warning (Msg : String);
+ -- Return the index of C in STR, or 0 if not found.
+ function Index (Str : String; C : Character) return Natural;
+
-- May be raise by perform_action if the arguments are bad.
Option_Error : exception renames Errorout.Option_Error;