This commit is contained in:
bronku 2025-11-25 17:33:56 +01:00
parent 2be4542c1b
commit ced10cf298
5 changed files with 14 additions and 7 deletions

View file

@ -3,6 +3,6 @@ def calculate(a, b=10):
if result > 100:
print("Large result:", result)
return result
# This is a comment
# this is a comment
x = calculate(5, 15)

View file

@ -39,7 +39,6 @@ KW_RETURN
IDENTIFIER result
NEWLINE
DEDENT
NEWLINE
IDENTIFIER x
ASSIGN
IDENTIFIER calculate
@ -49,4 +48,4 @@ COMMA
NUMBER 15
R_PAREN
NEWLINE
EOF
EOF

View file

@ -18,4 +18,4 @@ IDENTIFIER very_long_variable_name_123
ASSIGN
STRING "test"
NEWLINE
EOF
EOF

View file

@ -16,4 +16,4 @@ NEWLINE
KW_NOT
IDENTIFIER flag
NEWLINE
EOF
EOF