diff options
author | Tristan Gingold <tgingold@free.fr> | 2018-12-05 18:41:21 +0100 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2018-12-05 18:41:21 +0100 |
commit | 402f082e491d47addb070956f93f78ba6d737acc (patch) | |
tree | e84b545bdcdac7ac62a4fc46bfcd4b7c67de8811 /src/ghdldrv | |
parent | dbd6431ddbcf8c7c1b882aaf0315860353421a49 (diff) | |
download | ghdl-402f082e491d47addb070956f93f78ba6d737acc.tar.gz ghdl-402f082e491d47addb070956f93f78ba6d737acc.tar.bz2 ghdl-402f082e491d47addb070956f93f78ba6d737acc.zip |
Move Error_Msg_Parse from errorout to parse.
Diffstat (limited to 'src/ghdldrv')
-rw-r--r-- | src/ghdldrv/ghdlprint.adb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ghdldrv/ghdlprint.adb b/src/ghdldrv/ghdlprint.adb index ce0433204..8470b6ea3 100644 --- a/src/ghdldrv/ghdlprint.adb +++ b/src/ghdldrv/ghdlprint.adb @@ -1091,7 +1091,8 @@ package body Ghdlprint is loop Scan; if Ref_Tokens.Table (Tok_Idx) /= Current_Token then - Error_Msg_Parse ("token mismatch"); + Report_Msg (Msgid_Error, Errorout.Parse, No_Location, + "token mismatch"); exit; end if; case Current_Token is |