Add // line comments, grouped parentheses, and NODE_NOP
- Parse // comments in parse_statement by consuming tokens until newline - Add NODE_NOP for no-op statements (comments) - Support grouped expressions with parentheses in parse_term
This commit is contained in:
5
projects/comment.j
Normal file
5
projects/comment.j
Normal file
@@ -0,0 +1,5 @@
|
||||
// Esto es un comentario
|
||||
println("Hello World!")
|
||||
|
||||
// Otro comentario mas
|
||||
println(40)
|
||||
Reference in New Issue
Block a user