format type's string correctly
This commit is contained in:
parent
e318296e29
commit
169e5249db
1 changed files with 1 additions and 2 deletions
|
@ -25,9 +25,8 @@ module Rpl
|
||||||
def type( stack, dictionary )
|
def type( stack, dictionary )
|
||||||
stack, args = Rpl::Lang::Core.stack_extract( stack, [:any] )
|
stack, args = Rpl::Lang::Core.stack_extract( stack, [:any] )
|
||||||
|
|
||||||
stack << args[0]
|
|
||||||
stack << { type: :string,
|
stack << { type: :string,
|
||||||
value: args[0][:type].to_s }
|
value: "\"#{args[0][:type]}\"" }
|
||||||
|
|
||||||
[stack, dictionary]
|
[stack, dictionary]
|
||||||
end
|
end
|
||||||
|
|
Loading…
Add table
Reference in a new issue