Commit History

Author SHA1 Message Date
  florian c671683e80 + patch by Denis Kozlov to add date/time tokens: %DATEYEAR%, %DATEMONTH%, %DATEDAY%, %TIMEHOUR%, %TIMEMINUTE%, %TIMESECOND% 7 years ago
  Jonas Maebe 5f7d3e16f5 * increase comment nesting level when "(*" is followed by another '*' 7 years ago
  maciej-izak 751bde9792 Revert revision 36436 from trunk. Final fix for issue #31675. 8 years ago
  maciej-izak d3d29fa84c Revert revisions 36133, 36128 from trunk. 8 years ago
  maciej-izak 631d4a2d53 * Move global variable in_preproc_comp_expr into tscannerfile class. 8 years ago
  maciej-izak 6d1ad52dc5 * for symbols used in preprocessor expressions, we don't want to increase references count (for smaller final binaries). Partial fix for problem presented in mantis 31675. Preprocessor functions like declared() in uses section will work only for symbols declared in implicytly included modules (for example like for heaptrc by option -gh, see example/test tw31675.pp) 8 years ago
  svenbarth c552b2957a * implement support for 4 Byte UTF-8 codepoints that result in a surrogate pair for UTF-16 8 years ago
  pierre e87cc28b64 Replaced owner field by fileindex field in tpreprocstack class, in order to display correct include file for scan_e_endif_expected error 8 years ago
  yury 2387ea1ee0 * Removed unneeded var assignment. 8 years ago
  florian 3d6d5145bf * fix handling of const string symbols in preprocessor expressions 8 years ago
  florian 8c701eaa7b * reset c in dir_include if it will be re-read 8 years ago
  nickysn c2305809dc + added an i8086-embedded target support to the compiler (RTL and makefile 9 years ago
  svenbarth f8def6dbc9 Store and use procedure directives of generic routines. 9 years ago
  florian e566fe1938 * tscannerfile.readoptionalstate can handle also switches enclosed in (* ... *) comments 9 years ago
  svenbarth d24065c529 Fix compilation of the JEDI package. Old Delphi versions have {$WEAKPACKAGEUNIT} while newer ones also seem to allow {$WEAKPACKAGENUNIT ON}... :/ (analogous for DENYPACKAGEUNIT...) 9 years ago
  sergei f69f6336e9 * Replaced hacks with resetting 'c' to zero and decreasing inputpointer by boolean parameter to skipcomment and skipoldtpcomment. This parameter specifies whether first character of comment should be read. 9 years ago
  sergei bbfbab7e0c * Moved handling of comments and line breaks in assembler blocks from scanner to tokenizer level. Handling them at character level was causing compiler to accept comments in the middle of any assembler token, which should never happen. It was also causing Mantis #27459: a newline immediately after closing 'end' token was first handled in asmgetchar and then by normal parser, causing all subsequent line numbering to be off by one. 9 years ago
  florian 70b8789262 o basic extended pascal support: 9 years ago
  Jonas Maebe cebcf0afa8 * add "doregister" parameter to tfloatdef.create, and don't register temporary 9 years ago
  Jonas Maebe b22e2ef400 * add "doregister" parameter to tsetdef.create, and don't register temporary 9 years ago
  Jonas Maebe e921d7847a * add "doregister" parameter to tstringdef.create*, and don't register 9 years ago
  Jonas Maebe 2778bf55c7 * add "doregister" parameter to torddef.create, and don't register temporary 9 years ago
  Jonas Maebe a1ed7cc162 * addending to r31831: disable cs_systemcodepage if the source file code page 9 years ago
  Jonas Maebe 2cf8e50771 * fixed unwanted disabling of a codepage set via -FcXXX/{$codepage XXX} 10 years ago
  yury 432248cbf1 * Removed lot of unused vars. 10 years ago
  svenbarth 267adf4e46 scanner.pas, tscanner: 10 years ago
  svenbarth 5b216cca08 scanner.pas, tscanner: 10 years ago
  florian b61fd60b9d + support for {$I %CURRENTROUTINE%} 10 years ago
  florian afa5546ff8 * aktcommentstyle => current_commentstyle 10 years ago
  Jonas Maebe 146e3bcb9e * synchronised with trunk till r29513 10 years ago