Retoor software development Projects Research SearchXNG
Register Sign In

2 lines
6 B
Plaintext
Raw Normal View History

fix: parse number literal using strtol and handle invalid input in compiler Replace the hardcoded constant value 234 with actual parsing of the token's numeric string via strtol, adding error handling for invalid number literals and a TODO for truncation when casting long to int. Also add a newline after printing the interpreted value in main.c.
2013-10-22 22:37:53 +02:00
21212
Reference in New Issue Copy Permalink
6670e2f94c
wren/example/hello.wren
Response time: 30ms
Mail Licenses API