Fix Numeral and LiteralString ExpNodes requiring two regions
This commit is contained in:
parent
ed50d40c1c
commit
1679fe8e6e
@ -190,11 +190,11 @@ class Parser
|
|||||||
public class Nil(CodeRegion region) : ExpNode(region, region) { }
|
public class Nil(CodeRegion region) : ExpNode(region, region) { }
|
||||||
public class False(CodeRegion region) : ExpNode(region, region) { }
|
public class False(CodeRegion region) : ExpNode(region, region) { }
|
||||||
public class True(CodeRegion region) : ExpNode(region, region) { }
|
public class True(CodeRegion region) : ExpNode(region, region) { }
|
||||||
public class Numeral(INumeral value, CodeRegion startRegion, CodeRegion endRegion) : ExpNode(startRegion, endRegion)
|
public class Numeral(INumeral value, CodeRegion region) : ExpNode(region, region)
|
||||||
{
|
{
|
||||||
public INumeral value = value;
|
public INumeral value = value;
|
||||||
}
|
}
|
||||||
public class LiteralString(string value, CodeRegion startRegion, CodeRegion endRegion) : ExpNode(startRegion, endRegion)
|
public class LiteralString(string value, CodeRegion region) : ExpNode(region, region)
|
||||||
{
|
{
|
||||||
public string value = value;
|
public string value = value;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user