DSC icon indicating copy to clipboard operation
DSC copied to clipboard

update expressions to error for non-ints

Open tgauth opened this issue 9 months ago • 0 comments

PR Summary

  • fix #390

PR Context

  • existing grammar parses only the decimal digit(s) of floating point input as a number, resulting in incorrect handling by functions, like int()
  • updates grammar to parse floating point input as a number, allowing Rust code to detect as invalid input when trying to parse as int (can be updated in the future, if floating point input should be supported)

tgauth avatar May 22 '24 14:05 tgauth