summaryrefslogtreecommitdiff
path: root/forth/lib/preprocessor.fs
Commit message (Collapse)AuthorAgeFilesLines
* forth: Fix ([IF]) to handle nested [IFDEF] as wellAndreas Färber2010-12-051-0/+1
| | | | | | | | | | | | | | | | | Depending on the condition, either the [IFDEF] FOO or the [ELSE] would get compiled as an [IF], eating words until [ELSE] or [THEN] respectively. While doing so, [IFDEF] does not get compiled to [IF], so we need to handle nested [IFDEF] to account for its [ELSE] or [THEN]. This fixes [IFDEF] not disabling the full section of code. Thanks to Segher for pointing me in the right direction. Signed-off-by: Andreas Färber <andreas.faerber@web.de> Signed-off-by: Segher Boessenkool <segher@kernel.crashing.org> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@979 f158a5a8-5612-0410-a976-696ce0be7e32
* initial import of openbios--main--1.0--patch-26Stefan Reinauer2006-04-261-0/+75
git-svn-id: svn://coreboot.org/openbios/openbios-devel@1 f158a5a8-5612-0410-a976-696ce0be7e32