Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
Dwoo
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Common
Dwoo
Commits
be3fb1b8
Commit
be3fb1b8
authored
Oct 09, 2008
by
Seldaek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* Fix in comment stripping
git-svn-id:
svn://dwoo.org/dwoo/trunk@200
0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent
48ef9789
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Compiler.php
lib/Dwoo/Compiler.php
+2
-2
No files found.
lib/Dwoo/Compiler.php
View file @
be3fb1b8
...
...
@@ -1187,7 +1187,7 @@ class Dwoo_Compiler implements Dwoo_ICompiler
$pointer
+=
$endpos
-
$startpos
+
strlen
(
'*'
.
$this
->
rd
);
if
(
isset
(
$whitespaceStart
)
&&
preg_match
(
'#^[\t ]*\r?\n#'
,
substr
(
$src
,
$endpos
+
strlen
(
'*'
.
$this
->
rd
)),
$m
))
{
$pointer
+=
strlen
(
$m
[
0
]);
$this
->
curBlock
[
'buffer'
]
=
substr
(
$this
->
curBlock
[
'buffer'
],
0
,
-
(
$this
->
getPointer
()
-
$startpos
-
strlen
(
$this
->
ld
)));
$this
->
curBlock
[
'buffer'
]
=
substr
(
$this
->
curBlock
[
'buffer'
],
0
,
strlen
(
$this
->
curBlock
[
'buffer'
])
-
(
$this
->
getPointer
()
-
$startpos
-
strlen
(
$this
->
ld
)));
}
return
false
;
}
...
...
@@ -2502,7 +2502,7 @@ class Dwoo_Compiler implements Dwoo_ICompiler
$output
=
$func
.
'('
.
$params
.
')'
;
}
}
elseif
(
$pluginType
&
Dwoo
::
PROXY_PLUGIN
)
{
$params
=
$this
->
mapParams
(
$params
,
$this
->
getDwoo
()
->
getPluginProxy
()
->
getCallback
(
$
name
),
$state
);
$params
=
$this
->
mapParams
(
$params
,
$this
->
getDwoo
()
->
getPluginProxy
()
->
getCallback
(
$
func
),
$state
);
foreach
(
$params
as
&
$p
)
$p
=
$p
[
0
];
$output
=
call_user_func
(
array
(
$this
->
dwoo
->
getPluginProxy
(),
'getCode'
),
$func
,
$params
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment