Space before
Original Reporter info from Mantis: FPCCore
-
Reporter name: FPC core team
Original Reporter info from Mantis: FPCCore
- Reporter name: FPC core team
Description:
Within an assembler section fpc does not allow a space to be between the local label name and the ":" character. This is permitted by tp, and by fpc for labels in pascal source. I used the most recent compiler sources available from the cvs repository.
This is the output from the compiler of the program source included with this bug report. Removing the space between the "t" and ":" leads to successful compilation.
ppc386 -Sg tmp
Hint: End of reading config file t:\bin\fpc.cfg
Free Pascal Compiler version 1.9.5 [2004/06/02] for i386
Copyright (c) 1993-2004 by Florian Klaempfl
Hint: Path "t:\units\os2" not found
Hint: Path "t:\units\os2\rtl" not found
Target OS: OS/2
Compiling tmp.pas
tmp.pas(11,5) Error: Non-label pattern contains @
tmp.pas(11,5) Error: Unrecognized opcode @_QUIT
tmp.pas(11,12) Error: Assembler syntax error
tmp.pas(16) Fatal: There were 3 errors compiling module, stopping
Additional information:
Reporter: Arnstein Prytz
EMail: Arnstein dot Prytz at jcu dot edu dot au
Mantis conversion info:
- Mantis ID: 5142
- OS: OS/2
- Version: 1.9.3
- Fixed in version: 1.9.5