[SCRIPTER]
* BUG: Scripter works correctly again with the new component file syntax. git-svn-id: svn://localhost/gambas/trunk@3640 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
parent
0a7e85d778
commit
cf68b87c32
2 changed files with 5 additions and 37 deletions
|
@ -9,7 +9,6 @@ Component=gb.eval
|
|||
Description="Gambas Script"
|
||||
Authors="Fabien Bodard, Benoit Minisini"
|
||||
TabSize=2
|
||||
KeepDebugInfo=1
|
||||
Maintainer=benoit
|
||||
Vendor=Princeton
|
||||
Address=benoit@localhost
|
||||
|
|
|
@ -102,38 +102,6 @@ Static Private Sub InitComponent(sFile As String)
|
|||
|
||||
With hComponent
|
||||
|
||||
' If sGroup = "Change" Then
|
||||
'
|
||||
' aChange = Changes["." & sKey]
|
||||
' If Not aChange Then
|
||||
' aChange = New String[]
|
||||
' Changes["." & sKey] = aChange
|
||||
' Endif
|
||||
'
|
||||
' aStr = Split(sLig, ",")
|
||||
' aStr.Add(sKey)
|
||||
' aChange.Insert(aStr)
|
||||
' aChange.Sort()
|
||||
'
|
||||
' For Each sChange In aStr
|
||||
'
|
||||
' aChange = Changes[sChange]
|
||||
' If Not aChange Then
|
||||
' aChange = New String[]
|
||||
' Changes[sChange] = aChange
|
||||
' Endif
|
||||
'
|
||||
' aChange.Add("." & sKey)
|
||||
'
|
||||
' Next
|
||||
'
|
||||
' Else
|
||||
|
||||
' IF sKey = "Key" THEN
|
||||
' .Key = sLig
|
||||
' ELSE IF sKey = "Name" THEN 'OR sKey = "Name[" & sLangShort & "]" OR sKey = "Name[" & sLang & "]" THEN
|
||||
' PRINT "cName[\""; .Key; "\"] = (\""; sLig; "\")"
|
||||
' .Name = sLig
|
||||
If sKey = "Author" Or sKey = "Authors" Then
|
||||
.Authors = Split(sLig)
|
||||
'Else If sKey = "Type" Then
|
||||
|
@ -160,10 +128,11 @@ Static Private Sub InitComponent(sFile As String)
|
|||
.Implement = Split(LCase(sLig))
|
||||
Else If sKey = "Need" Or sKey = "Needs" Then
|
||||
.Need = Split(LCase(sLig))
|
||||
Else If sKey = "Alpha" Then
|
||||
.State = UNSTABLE
|
||||
Else If sKey = "State" Then
|
||||
.State = CInt(sLig)
|
||||
' Do not care with State
|
||||
'Else If sKey = "Alpha" Then
|
||||
' .State = UNSTABLE
|
||||
'Else If sKey = "State" Then
|
||||
' .State = CInt(sLig)
|
||||
Else If sKey = "Version" Then
|
||||
.Version = sLig
|
||||
Endif
|
||||
|
|
Loading…
Reference in a new issue