From 552a5c9d683b153343d17cc7ea0b05dd478314b3 Mon Sep 17 00:00:00 2001 From: borutr Date: Sun, 13 Apr 2003 11:35:10 +0000 Subject: [PATCH] updated info about #pragma SAVE/RESTORE nesting git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2526 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- doc/sdccman.lyx | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/sdccman.lyx b/doc/sdccman.lyx index 898291ae..22a94a60 100644 --- a/doc/sdccman.lyx +++ b/doc/sdccman.lyx @@ -6974,13 +6974,15 @@ Pragmas SDCC supports the following #pragma directives. \layout Itemize -SAVE - this will save all the current options. +SAVE - this will save all current options to the SAVE/RESTORE stack. + See RESTORE. \layout Itemize RESTORE - will restore the saved options from the last save. - Note that SAVEs & RESTOREs cannot be nested. - SDCC uses the same buffer to save the options each time a SAVE is called. - (jwk burps: either fix that or throw a warning) + SAVEs & RESTOREs can be nested. + SDCC uses a SAVE/RESTORE stack: SAVE pushes current options to the stack, + RESTORE pulls current optios from the stack. + See SAVE. \layout Itemize NOGCSE - will stop global subexpression elimination. -- 2.39.5