mirror of
https://github.com/RGBCube/serenity
synced 2025-05-23 19:45:06 +00:00

... and performs preprocessing on the source code before parsing. To support this, we are now able to keep track of multiple files in the autocomplete engine. We re-parse a file whenever it is edited.
13 lines
215 B
C++
13 lines
215 B
C++
#include "other.h"
|
|
#include <stdio.h>
|
|
|
|
int func()
|
|
{
|
|
int x = 1;
|
|
int y = 2;
|
|
StructInHeader mystruct;
|
|
printf("x: %d\n", x);
|
|
printf("y: %d\n", y);
|
|
printf("x+y: %d\n", x + y);
|
|
return x + y;
|
|
}
|