Skip to content

Commit b98d9fc

Browse files
committed
Fix
Fixed Error when there is a space between Procedurename and Parameter-Parenthesis
1 parent 191ba05 commit b98d9fc

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

SpiderBite.pb

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
Global SourceFile.s
44

55
#AppName = "SpiderBite"
6-
#AppVersion = "2017-10-01"
6+
#AppVersion = "2017-10-25"
77

88
#ServerCodeType_NodeJs = "NodeJs"
99
#ServerCodeType_Php = "Php"
@@ -1140,7 +1140,7 @@ Procedure.s ProcessServerCode(FileContent.s, ServerCodeType.s)
11401140

11411141
Protected CallbackProcedure.s
11421142

1143-
CurrentProcedure = StringField(CurrentProcedure, 1, "(")
1143+
CurrentProcedure = Trim(StringField(CurrentProcedure, 1, "("))
11441144

11451145
CurrentProcedure = Trim(StringField(CurrentProcedure, CountString(CurrentProcedure, " ") + 1, " "))
11461146

@@ -1442,7 +1442,7 @@ Procedure Main()
14421442

14431443
SourceFile.s = ProgramParameter() ; %COMPILEFILE!
14441444

1445-
; SourceFile = "C:\Users\Administrator\AppData\Local\Temp\8\PB_EditorOutput.pb.original"
1445+
; SourceFile = "C:\Users\Administrator\AppData\Local\Temp\7\PB_EditorOutput.pb.original"
14461446

14471447
; SourceFile = "/tmp/PB_EditorOutput2.pb"
14481448

0 commit comments

Comments
 (0)