diff options
Diffstat (limited to 'src/vhdl/parse.adb')
-rw-r--r-- | src/vhdl/parse.adb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/vhdl/parse.adb b/src/vhdl/parse.adb index d456131..ccbf986 100644 --- a/src/vhdl/parse.adb +++ b/src/vhdl/parse.adb @@ -104,6 +104,10 @@ package body Parse is if Msg'Length > 0 then Error_Msg_Parse (Msg); Error_Msg_Parse ("(found: " & Image (Current_Token) & ")"); + elsif Current_Token = Tok_Identifier then + Error_Msg_Parse + (''' & Image(Token) & "' is expected instead of '" + & Name_Table.Image (Current_Identifier) & '''); else Error_Msg_Parse (''' & Image(Token) & "' is expected instead of '" |