parser problem when using brackets and attributes simultaneously: A(A'high) - parser error A(A'high ) - no parser error(added space)
Moving to syntax highlighting framework, we use the files from there now.
Add original authors to CC. Could you please look into this?
Created attachment 106784 [details] Patch to syntax highlighting file vhdl.xml You're right, closing parentheses were not handled correctly after attributes. A 'lookAhead' statement was missing. The patch fixes this, including correct handling of attributes with arguments.
Git commit ab8618bc922aebf950655e52a635bb1d358671d8 by Dominik Haumann. Committed on 23/07/2017 at 08:11. Pushed by dhaumann into branch 'master'. VHDL: Fix highlighting error when using brackets and attributes Thanks to Jan Michel for the patch! FIXED-IN: 5.37 M +6 -0 autotests/folding/light52_tb.vhdl.fold M +6 -0 autotests/html/light52_tb.vhdl.html M +6 -0 autotests/input/light52_tb.vhdl M +6 -0 autotests/reference/light52_tb.vhdl.ref M +7 -4 data/syntax/vhdl.xml https://commits.kde.org/syntax-highlighting/ab8618bc922aebf950655e52a635bb1d358671d8