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
ea8e8d54
Commit
ea8e8d54
authored
Jan 21, 2009
by
Seldaek
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
git-svn-id:
svn://dwoo.org/dwoo/trunk@238
0598d79b-80c4-4d41-97ba-ac86fbbd088b
parent
7d4083db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
CHANGELOG
CHANGELOG
+1
-0
Compiler.php
lib/Dwoo/Compiler.php
+1
-1
No files found.
CHANGELOG
View file @
ea8e8d54
...
...
@@ -6,6 +6,7 @@
that
resulted
,
but
I
didn
't really keep track of them
* Fixed a bug with parsing AND/OR keywords in conditionals when they were
followed by round brackets
* Fixed assignments not handling multi-line values correctly
[2008-12-24] 1.0.1
* Direct assignments like {$foo = 5} now allow spaces around the operator
...
...
lib/Dwoo/Compiler.php
View file @
ea8e8d54
...
...
@@ -1392,7 +1392,7 @@ class Dwoo_Compiler implements Dwoo_ICompiler
$out
.=
$match
[
1
]
.
$expr
;
}
}
}
else
if
(
$curBlock
===
'root'
&&
preg_match
(
'#^(\s*(?:[+/*%-]=|=|\+\+|--)\s*)(.*)#'
,
$substr
,
$match
))
{
}
else
if
(
$curBlock
===
'root'
&&
preg_match
(
'#^(\s*(?:[+/*%-]=|=|\+\+|--)\s*)(.*)#
s
'
,
$substr
,
$match
))
{
if
(
$this
->
debug
)
echo
'PARSING POST-VAR ASSIGNMENT '
.
$substr
.
'<br />'
;
// parse assignment
$value
=
$match
[
2
];
...
...
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