From ce315116b6b9360659511eb23f7dfb231921327e Mon Sep 17 00:00:00 2001 From: Tristan Gingold Date: Thu, 30 May 2019 14:36:33 +0200 Subject: vhdl: add code formatter (WIP) --- src/vhdl/vhdl-formatters.ads | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 src/vhdl/vhdl-formatters.ads (limited to 'src/vhdl/vhdl-formatters.ads') 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; -- cgit v1.2.3