Skip to content

OSDK Said Syntax At Line 1 Error But C Programming All Syntax Is Correct #3

@basicprogrammer30

Description

@basicprogrammer30

@kerravon86 I Tried To Parse C Program FIle To Tradional OS Assembly Language But Show Syntax Error:

firstperson@Acer-Aspire-4749Z:~/osdk/build$ ./bin/osdk simpleos.c
[OSDK] Compiling simpleos.c...
Error at line 1: syntax error
[ERROR] Compilation failed.
firstperson@Acer-Aspire-4749Z:~/osdk/build$ cat simpleos.c
void main() {
    // There Is Blank
}

firstperson@Acer-Aspire-4749Z:~/osdk/build$

And I want gcc like error catching system

I Think Problem Is Located In ./lang/cparser.y Line Around 250

Please Commit The Repo On compiler branch
GNU Flex Docs: https://ftp.gnu.org/old-gnu/Manuals/flex-2.5.4/flex.html

Metadata

Metadata

Labels

bugSomething isn't workingenhancementNew feature or requestgood first issueGood for newcomershelp wantedExtra attention is neededinvalidThis doesn't seem right

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions