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
5dd58675
Commit
5dd58675
authored
Aug 21, 2008
by
Seldaek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes the fix..
git-svn-id:
svn://dwoo.org/dwoo/trunk@152
0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent
11ad7005
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
1 deletion
+3
-1
CHANGELOG
CHANGELOG
+2
-0
Dwoo.compiled.php
lib/Dwoo.compiled.php
+0
-0
Compiler.php
lib/Dwoo/Compiler.php
+1
-1
No files found.
CHANGELOG
View file @
5dd58675
...
...
@@ -3,6 +3,8 @@
extended
template
*
Fixed
extends
bug
when
extending
files
in
other
directories
using
relative
paths
*
Fixed
parsing
bug
with
|
modifier
:
param
|
modifier2
}
with
:
colon
after
it
*
Bug
fixed
with
smarty
functions
called
with
no
parameters
(
in
compat
mode
)
[
2008
-
08
-
03
]
0.9.3
+
Adapters
:
Added
the
ZendFramework
interface
for
Dwoo
...
...
lib/Dwoo.compiled.php
View file @
5dd58675
This diff is collapsed.
Click to expand it.
lib/Dwoo/Compiler.php
View file @
5dd58675
...
...
@@ -2296,7 +2296,7 @@ class Dwoo_Compiler implements Dwoo_ICompiler
}
$cmdstr
=
$cmdstrsrc
;
$paramsep
=
':'
;
if
(
!
preg_match
(
'/^(@{0,2}[a-z][a-z0-9_]*)(:)?/'
,
$cmdstr
,
$match
))
{
if
(
!
preg_match
(
'/^(@{0,2}[a-z][a-z0-9_]*)(:)?/
i
'
,
$cmdstr
,
$match
))
{
throw
new
Dwoo_Compilation_Exception
(
$this
,
'Invalid modifier name, started with : '
.
substr
(
$cmdstr
,
0
,
10
));
}
$paramspos
=
!
empty
(
$match
[
2
])
?
strlen
(
$match
[
1
])
:
false
;
...
...
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