mirror of
				https://gitlab.com/freepascal.org/fpc/source.git
				synced 2025-10-31 03:31:36 +01:00 
			
		
		
		
	+ allow packed file of ...
+ allow @ to declare a pointer in iso mode git-svn-id: trunk@15679 -
This commit is contained in:
		
							parent
							
								
									d0ea23f39e
								
							
						
					
					
						commit
						aa05cf8b1a
					
				| @ -943,6 +943,8 @@ implementation | |||||||
|                   array_dec(bitpacking) |                   array_dec(bitpacking) | ||||||
|                 else if token=_SET then |                 else if token=_SET then | ||||||
|                   set_dec |                   set_dec | ||||||
|  |                 else if token=_FILE then | ||||||
|  |                   single_type(def,false,true) | ||||||
|                 else |                 else | ||||||
|                   begin |                   begin | ||||||
|                     oldpackrecords:=current_settings.packrecords; |                     oldpackrecords:=current_settings.packrecords; | ||||||
| @ -1085,6 +1087,15 @@ implementation | |||||||
|                     handle_calling_convention(pd); |                     handle_calling_convention(pd); | ||||||
|                   end; |                   end; | ||||||
|               end; |               end; | ||||||
|  |             else | ||||||
|  |               if (token=_KLAMMERAFFE) and (m_iso in current_settings.modeswitches) then | ||||||
|  |                 begin | ||||||
|  |                   consume(_KLAMMERAFFE); | ||||||
|  |                   single_type(tt2,(block_type=bt_type),false); | ||||||
|  |                   def:=tpointerdef.create(tt2); | ||||||
|  |                   if tt2.typ=forwarddef then | ||||||
|  |                     current_module.checkforwarddefs.add(def); | ||||||
|  |                 end | ||||||
|               else |               else | ||||||
|                 expr_type; |                 expr_type; | ||||||
|          end; |          end; | ||||||
|  | |||||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 florian
						florian