mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-24 03:52:50 -06:00
Remove CStr [] which causes error, update gold
This commit is contained in:
@@ -5,7 +5,7 @@ cat CStr String ;
|
|||||||
CFloat Float ;
|
CFloat Float ;
|
||||||
|
|
||||||
data empty : CStr "" ;
|
data empty : CStr "" ;
|
||||||
null : CStr [] ;
|
-- null : CStr [] ; -- Commented out by IL 06/2021: causes parse error
|
||||||
other : CStr "other" ;
|
other : CStr "other" ;
|
||||||
|
|
||||||
data zero : CInt 0 ;
|
data zero : CInt 0 ;
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
i -src testsuite/compiler/typecheck/abstract/LitAbs.gf
|
i -src testsuite/compiler/typecheck/abstract/LitAbs.gf
|
||||||
ai null
|
|
||||||
ai empty
|
ai empty
|
||||||
ai other
|
ai other
|
||||||
ai zero
|
ai zero
|
||||||
|
|||||||
@@ -1,5 +1,12 @@
|
|||||||
data null : CStr ""
|
data empty : CStr "" ;
|
||||||
|
Probability: 0.5
|
||||||
data empty : CStr ""
|
|
||||||
|
data other : CStr "other" ;
|
||||||
data other : CStr "other"
|
Probability: 0.5
|
||||||
|
|
||||||
|
data zero : CInt 0 ;
|
||||||
|
Probability: 1.0
|
||||||
|
|
||||||
|
data pi : CFloat 3.14 ;
|
||||||
|
Probability: 1.0
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user