diff options
author | Tristan Gingold <tgingold@free.fr> | 2016-11-21 01:22:45 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2016-12-30 08:41:55 +0100 |
commit | f38e8d2677cb5a93a3ad4c0e818e31b0063abf15 (patch) | |
tree | 149b8d181a8e73332f805eb3b0460426fbbf39e2 /src/vhdl/ieee.ads | |
parent | cf17632924e55d4a9357942d8dac828c1e93b41c (diff) | |
download | ghdl-f38e8d2677cb5a93a3ad4c0e818e31b0063abf15.tar.gz ghdl-f38e8d2677cb5a93a3ad4c0e818e31b0063abf15.tar.bz2 ghdl-f38e8d2677cb5a93a3ad4c0e818e31b0063abf15.zip |
ieee: recognize ieee.numeric_std.
Diffstat (limited to 'src/vhdl/ieee.ads')
-rw-r--r-- | src/vhdl/ieee.ads | 27 |
1 files changed, 24 insertions, 3 deletions
diff --git a/src/vhdl/ieee.ads b/src/vhdl/ieee.ads index 48ab37630..e29e50f4d 100644 --- a/src/vhdl/ieee.ads +++ b/src/vhdl/ieee.ads @@ -1,5 +1,26 @@ --- Top of ieee hierarchy. --- Too small to be copyrighted. +-- Nodes recognizer for ieee packages - utilities. +-- Copyright (C) 2016 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 Iirs; use Iirs; + package Ieee is - pragma Pure (Ieee); + -- Skip constant string declaration for a copyright, if present. + function Skip_Copyright_Notice (Decl : Iir) return Iir; + + -- Return the next node after implicit subprogram declarations. + function Skip_Implicit (Decl : Iir) return Iir; end Ieee; |