updated info about #pragma SAVE/RESTORE nesting
authorborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 13 Apr 2003 11:35:10 +0000 (11:35 +0000)
committerborutr <borutr@4a8a32a2-be11-0410-ad9d-d568d2c75423>
Sun, 13 Apr 2003 11:35:10 +0000 (11:35 +0000)
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@2526 4a8a32a2-be11-0410-ad9d-d568d2c75423

doc/sdccman.lyx

index 898291aeade2d021a124257a55cc36b620028e8f..22a94a608fe6e05bc86eb5436568840b9310cbfd 100644 (file)
@@ -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.