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

parser: fix require condition when creating source range #2669

Conversation

michaellilltokiwa
Copy link
Member

This led to lots of test failures in the language server.

Copy link
Member

@fridis fridis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for breaking this :-)
A change request to not lose the position.

src/dev/flang/parser/Lexer.java Outdated Show resolved Hide resolved
@@ -504,7 +504,7 @@ void fzE_init()
int64_t fzE_thread_create(void* code, void* args)
{
#ifdef FUZION_ENABLE_THREADS
pthread_t * pt = fzE_malloc_safe(sizeof(pthread_t));;
pthread_t * pt = fzE_malloc_safe(sizeof(pthread_t));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated, but ok.

@@ -543,7 +543,7 @@ void fzE_init()
int64_t fzE_thread_create(void* code, void* args)
{
#ifdef FUZION_ENABLE_THREADS
pthread_t * pt = fzE_malloc_safe(sizeof(pthread_t));;
pthread_t * pt = fzE_malloc_safe(sizeof(pthread_t));
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

unrelated, but ok.

@fridis fridis merged commit aee08f4 into tokiwa-software:main Mar 7, 2024
4 checks passed
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

Successfully merging this pull request may close these issues.

None yet

2 participants