diff options
author | Tristan Gingold <tgingold@free.fr> | 2019-06-02 09:18:15 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2019-06-03 06:43:51 +0200 |
commit | edfccd332a56771311fefdbfcffcf269c8026aba (patch) | |
tree | 6bab8f5f9b123f1daf78487403838f17ab2b5bec /src/ghdldrv/ghdlmain.ads | |
parent | 6aa66fc7a9bee40e9a3d87bad712d654caad411c (diff) | |
download | ghdl-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.ads | 3 |
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; |