Closed mewmew closed 8 years ago
Figure out how to handle character literals. Should they be considered a subset of integer literals of as a dedicated literal?
Related TODOs.
hand/scanner/scanner.go
// TODO: Change back to "char_lit" once dedicated support for character literals has been added.
gocc/scanner/scanner_test.go line 537, 2374, 2394, 2414, and 2434.
gocc/scanner/scanner_test.go
// TODO: Figure out if char_lit and int_lit should be separate tokens.
ast/astx/astx.go:
// TODO: Add char_lit production rule to NewBasicLit doc comment once handled // explicitly in uc.bnf.
gocc/uc.bnf:
// TODO: Handle char_lit explicitly?
This may be handled at some later point in the future. For now, consider character literals a subset of integer literals. Closing for now. We may revisit this in the future.
Figure out how to handle character literals. Should they be considered a subset of integer literals of as a dedicated literal?
Related TODOs.
hand/scanner/scanner.go
gocc/scanner/scanner_test.go
line 537, 2374, 2394, 2414, and 2434.ast/astx/astx.go:
gocc/uc.bnf: