Revert "store is_negative for all number literals in the parse ast"

This reverts commit 182fd5201d.
This commit is contained in:
Folkert 2021-03-12 16:43:52 +01:00
parent 4b903e5531
commit 214112d751
12 changed files with 46 additions and 142 deletions

View file

@ -24,8 +24,8 @@ impl<'a> Formattable<'a> for Expr<'a> {
}
// These expressions never have newlines
Float { .. }
| Num { .. }
Float(_)
| Num(_)
| NonBase10Int { .. }
| Access(_, _)
| AccessorFunction(_)
@ -218,7 +218,7 @@ impl<'a> Formattable<'a> for Expr<'a> {
buf.push(')');
}
}
Num { string, .. } | Float { string, .. } | GlobalTag(string) | PrivateTag(string) => {
Num(string) | Float(string) | GlobalTag(string) | PrivateTag(string) => {
buf.push_str(string)
}
NonBase10Int {