aboutsummaryrefslogtreecommitdiffstats
path: root/src/vhdl/vhdl-formatters.ads
diff options
context:
space:
mode:
authorTristan Gingold <tgingold@free.fr>2019-05-30 14:36:33 +0200
committerTristan Gingold <tgingold@free.fr>2019-05-30 14:36:33 +0200
commitce315116b6b9360659511eb23f7dfb231921327e (patch)
tree336f758890e772116b47d104c23ad230eb6218d2 /src/vhdl/vhdl-formatters.ads
parentad46e4bed268a9c4faefb503deec7dc5603a9be2 (diff)
downloadghdl-ce315116b6b9360659511eb23f7dfb231921327e.tar.gz
ghdl-ce315116b6b9360659511eb23f7dfb231921327e.tar.bz2
ghdl-ce315116b6b9360659511eb23f7dfb231921327e.zip
vhdl: add code formatter (WIP)
Diffstat (limited to 'src/vhdl/vhdl-formatters.ads')
-rw-r--r--src/vhdl/vhdl-formatters.ads24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-formatters.ads b/src/vhdl/vhdl-formatters.ads
new file mode 100644
index 000000000..0bc9e4726
--- /dev/null
+++ b/src/vhdl/vhdl-formatters.ads
@@ -0,0 +1,24 @@
+-- VHDL code formatter.
+-- Copyright (C) 2019 Tristan Gingold
+--
+-- GHDL is free software; you can redistribute it and/or modify it under
+-- the terms of the GNU General Public License as published by the Free
+-- Software Foundation; either version 2, or (at your option) any later
+-- version.
+--
+-- GHDL is distributed in the hope that it will be useful, but WITHOUT ANY
+-- WARRANTY; without even the implied warranty of MERCHANTABILITY or
+-- FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+-- for more details.
+--
+-- You should have received a copy of the GNU General Public License
+-- along with GHDL; see the file COPYING. If not, write to the Free
+-- Software Foundation, 59 Temple Place - Suite 330, Boston, MA
+-- 02111-1307, USA.
+
+with Vhdl.Nodes; use Vhdl.Nodes;
+
+package Vhdl.Formatters is
+ -- Format/pretty print the file F.
+ procedure Format (F : Iir_Design_File);
+end Vhdl.Formatters;