Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LAL Highlighters (Continuous Build Issue) #176

Open
andrewathalye opened this issue Jun 19, 2024 · 1 comment
Open

LAL Highlighters (Continuous Build Issue) #176

andrewathalye opened this issue Jun 19, 2024 · 1 comment

Comments

@andrewathalye
Copy link

The latest gnatstudio can no longer build with the latest libadalang because lal-highlighters.adb is missing cases for the new Ada_Format_String_Start and Ada_Format_String_End

@andrewathalye
Copy link
Author

andrewathalye commented Jun 19, 2024

Fairly banal patch attached:

diff --git a/lal/core/lal-highlighters.adb b/lal/core/lal-highlighters.adb
index 8a4fc46..3f49bec 100644
--- a/lal/core/lal-highlighters.adb
+++ b/lal/core/lal-highlighters.adb
@@ -402,7 +402,10 @@ package body LAL.Highlighters is
 
          when Ada_Comment =>
             return Aspect_Prefix (Comment, In_Aspect);
-         when Ada_Prep_Line =>
+         when Ada_Prep_Line |
+              Ada_Format_String_Start |
+              Ada_Format_String_Mid   |
+              Ada_Format_String_End  =>
             return Aspect_Prefix (None, In_Aspect);
       end case;
    end To_Style;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant