diff options
author | Tristan Gingold <tgingold@free.fr> | 2021-08-24 06:40:12 +0200 |
---|---|---|
committer | Tristan Gingold <tgingold@free.fr> | 2021-08-24 06:40:12 +0200 |
commit | 291ded5b3b784a8ee5448076360db24079e4f916 (patch) | |
tree | beb2daf95e916f0911d761d57383b3e60502f9b5 | |
parent | 8dce98079531f7b222340fb53373cd43c9939ff1 (diff) | |
download | ghdl-291ded5b3b784a8ee5448076360db24079e4f916.tar.gz ghdl-291ded5b3b784a8ee5448076360db24079e4f916.tar.bz2 ghdl-291ded5b3b784a8ee5448076360db24079e4f916.zip |
vhdl-parse.adb: improve error recovery. For #1837
-rw-r--r-- | src/vhdl/vhdl-parse.adb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/vhdl/vhdl-parse.adb b/src/vhdl/vhdl-parse.adb index c96aaaad1..01c8df6ca 100644 --- a/src/vhdl/vhdl-parse.adb +++ b/src/vhdl/vhdl-parse.adb @@ -359,6 +359,8 @@ package body Vhdl.Parse is | Tok_Context => -- Possible start of a new unit. exit; + when Tok_End => + Skip_Until_Semi_Colon; when others => Scan; end case; |