Removed runes from analyzer ez
This commit is contained in:
parent
c7e6c9299a
commit
6d5bb59712
@ -16,7 +16,6 @@ type Argument interface {
|
|||||||
// UIntLiteral
|
// UIntLiteral
|
||||||
// FloatLiteral
|
// FloatLiteral
|
||||||
// StringLiteral
|
// StringLiteral
|
||||||
// RuneLiteral
|
|
||||||
|
|
||||||
ToString (indent int) (output string)
|
ToString (indent int) (output string)
|
||||||
canBePassedAs (what Type) (allowed bool)
|
canBePassedAs (what Type) (allowed bool)
|
||||||
@ -62,9 +61,6 @@ func (analyzer AnalysisOperation) analyzeArgument (
|
|||||||
|
|
||||||
case parser.ArgumentKindString:
|
case parser.ArgumentKindString:
|
||||||
outputArgument = StringLiteral(inputArgument.Value().(string))
|
outputArgument = StringLiteral(inputArgument.Value().(string))
|
||||||
|
|
||||||
case parser.ArgumentKindRune:
|
|
||||||
outputArgument = RuneLiteral(inputArgument.Value().(rune))
|
|
||||||
}
|
}
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
@ -19,7 +19,7 @@ var PrimitiveFace = createPrimitive("Face", Type {})
|
|||||||
var PrimitiveFunc = createPrimitive("Func", Type {})
|
var PrimitiveFunc = createPrimitive("Func", Type {})
|
||||||
|
|
||||||
var BuiltInString = createPrimitive("String", Type {
|
var BuiltInString = createPrimitive("String", Type {
|
||||||
actual: PrimitiveU32,
|
actual: &PrimitiveU32,
|
||||||
kind: TypeKindVariableArray,
|
kind: TypeKindVariableArray,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user