Working on arrays
This commit is contained in:
6
main.cpp
6
main.cpp
@@ -80,7 +80,7 @@ Expr:
|
||||
[ ] - Arrays with size passed
|
||||
[ ] - Switch
|
||||
[ ] - Values inited to 0 by default
|
||||
[ ] - Emitting #line
|
||||
[ ] - Add c string
|
||||
|
||||
[ ] - Comma notation when declaring variables thing1, thing2: S32
|
||||
[ ] - Array of inferred size
|
||||
@@ -111,6 +111,8 @@ Expr:
|
||||
[ ] - Conditional compilation #if
|
||||
|
||||
@donzo
|
||||
[x] - Emitting #line
|
||||
[x] - Making sure debugger works
|
||||
[x] - We need ++ -- operators
|
||||
[x] - Some way to call foreign functions
|
||||
[x] - We are parsing wrong here: (t.str=(&string_to_lex.str)[i]);
|
||||
@@ -178,7 +180,7 @@ int main(int argument_count, char **arguments){
|
||||
|
||||
|
||||
|
||||
|
||||
emit_line_directives = false;
|
||||
if(argument_count > 1){
|
||||
Scratch scratch;
|
||||
String name = string_fmt(scratch, "%s.kl", arguments[1]);
|
||||
|
||||
Reference in New Issue
Block a user