- Timestamp:
- Oct 22, 2010, 4:16:35 PM (14 years ago)
- Location:
- branches/Transpascal
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Transpascal/Compiler/UCompiler.pas
r77 r81 13 13 type 14 14 TProducerType = (ptGCCC, ptDynamicC, ptPascal, ptAssembler, ptXML); 15 TAnalyzerType = (ptCustomPascal, ptDelphi); 15 16 16 17 TErrorMessage = class … … 60 61 ProducerTypeName: array[TProducerType] of string = ( 61 62 'GCC C', 'Rabbit Dynamic C', 'Generic Pascal', 'Assembler', 'XML'); 62 63 AnalyzerTypeName: array[TAnalyzerType] of string = ( 64 'Custom pascal', 'Delphi'); 63 65 64 66 implementation -
branches/Transpascal/Compiler/USourceCode.pas
r80 r81 153 153 154 154 TType = class 155 ForwardDeclared: Boolean; 155 156 Internal: Boolean; 156 157 Parent: TTypeList; -
branches/Transpascal/Forms/UMainForm.lfm
r78 r81 1 1 object MainForm: TMainForm 2 Left = 1422 Left = 362 3 3 Height = 501 4 4 Top = 113 … … 42 42 TabOrder = 2 43 43 object ComboBoxTargetSelection: TComboBox 44 Left = 1 44 Left = 192 45 45 Height = 21 46 46 Top = 2 47 47 Width = 135 48 Align = alLeft 48 49 ItemHeight = 13 49 50 ItemIndex = 1 … … 60 61 end 61 62 object Button1: TButton 62 Left = 13663 Height = 2 263 Left = 327 64 Height = 24 64 65 Top = 2 65 66 Width = 59 66 67 Action = ABuild 68 Align = alLeft 67 69 TabOrder = 1 68 70 end 69 71 object CheckBoxLogParsing: TCheckBox 70 Left = 19571 Height = 1772 Left = 386 73 Height = 24 72 74 Top = 2 73 75 Width = 105 76 Align = alLeft 74 77 Caption = 'Log parsing to file' 75 78 TabOrder = 2 79 end 80 object ComboBoxAnalyzerType: TComboBox 81 Left = 40 82 Height = 21 83 Top = 2 84 Width = 124 85 Align = alLeft 86 ItemHeight = 13 87 Style = csDropDownList 88 TabOrder = 3 89 end 90 object Label1: TLabel 91 Left = 1 92 Height = 24 93 Top = 2 94 Width = 39 95 Align = alLeft 96 Alignment = taCenter 97 AutoSize = False 98 BorderSpacing.CellAlignVertical = ccaCenter 99 Caption = 'From:' 100 Layout = tlCenter 101 ParentColor = False 102 end 103 object Label2: TLabel 104 Left = 164 105 Height = 24 106 Top = 2 107 Width = 28 108 Align = alLeft 109 Alignment = taCenter 110 AutoSize = False 111 Caption = 'To:' 112 Layout = tlCenter 113 ParentColor = False 76 114 end 77 115 end … … 141 179 Caption = 'Build' 142 180 OnExecute = ABuildExecute 181 ShortCut = 120 143 182 end 144 183 end -
branches/Transpascal/Forms/UMainForm.pas
r78 r81 30 30 Button1: TButton; 31 31 CheckBoxLogParsing: TCheckBox; 32 ComboBoxAnalyzerType: TComboBox; 32 33 ComboBoxTargetSelection: TComboBox; 33 34 CoolDockClient1: TCoolDockClient; 34 35 CoolDockMaster1: TCoolDockMaster; 36 Label1: TLabel; 37 Label2: TLabel; 35 38 MainMenu1: TMainMenu; 36 39 MenuItem1: TMenuItem; … … 162 165 ComboBoxTargetSelection.ItemIndex := 163 166 ReadIntegerWithDefault('ProducerType', 0); 167 ComboBoxAnalyzerType.ItemIndex := 168 ReadIntegerWithDefault('AnalyzerType', 0); 164 169 CheckBoxLogParsing.Checked := ReadBoolWithDefault('LogParsing', False); 165 170 finally … … 177 182 WriteBool('ReopenLastOpenedFile', ReopenLastOpenedFile); 178 183 WriteInteger('ProducerType', ComboBoxTargetSelection.ItemIndex); 184 WriteInteger('AnalyzerType', ComboBoxAnalyzerType.ItemIndex); 179 185 WriteBool('LogParsing', CheckBoxLogParsing.Checked); 180 186 finally … … 203 209 var 204 210 ProducerType: TProducerType; 211 AnalyzerType: TAnalyzerType; 205 212 begin 206 213 DebugLog.FileName := 'DebugLog.txt'; … … 215 222 for ProducerType := Low(ProducerType) to High(ProducerType) do 216 223 ComboBoxTargetSelection.AddItem(ProducerTypeName[ProducerType], nil); 224 ComboBoxAnalyzerType.Clear; 225 for AnalyzerType := Low(AnalyzerType) to High(AnalyzerType) do 226 ComboBoxAnalyzerType.AddItem(AnalyzerTypeName[AnalyzerType], nil); 217 227 end; 218 228 -
branches/Transpascal/Transpascal.lpi
r80 r81 54 54 <IsPartOfProject Value="True"/> 55 55 <UnitName Value="Transpascal"/> 56 <EditorIndex Value=" 11"/>56 <EditorIndex Value="7"/> 57 57 <WindowIndex Value="0"/> 58 58 <TopLine Value="1"/> … … 69 69 <ResourceBaseClass Value="Form"/> 70 70 <UnitName Value="UMainForm"/> 71 <EditorIndex Value="10"/> 72 <WindowIndex Value="0"/> 73 <TopLine Value="255"/> 74 <CursorPos X="29" Y="267"/> 71 <IsVisibleTab Value="True"/> 72 <EditorIndex Value="6"/> 73 <WindowIndex Value="0"/> 74 <TopLine Value="205"/> 75 <CursorPos X="1" Y="223"/> 75 76 <UsageCount Value="215"/> 76 77 <Loaded Value="True"/> … … 211 212 <Filename Value="Compiler\UCompiler.pas"/> 212 213 <UnitName Value="UCompiler"/> 213 <EditorIndex Value=" 7"/>214 <WindowIndex Value="0"/> 215 <TopLine Value=" 1"/>216 <CursorPos X=" 62" Y="8"/>214 <EditorIndex Value="3"/> 215 <WindowIndex Value="0"/> 216 <TopLine Value="55"/> 217 <CursorPos X="15" Y="63"/> 217 218 <UsageCount Value="103"/> 218 219 <Loaded Value="True"/> … … 221 222 <Filename Value="Compiler\USourceCode.pas"/> 222 223 <UnitName Value="USourceCode"/> 223 <EditorIndex Value=" 12"/>224 <WindowIndex Value="0"/> 225 <TopLine Value=" 211"/>226 <CursorPos X="3 " Y="224"/>224 <EditorIndex Value="8"/> 225 <WindowIndex Value="0"/> 226 <TopLine Value="141"/> 227 <CursorPos X="30" Y="155"/> 227 228 <UsageCount Value="100"/> 228 229 <Loaded Value="True"/> … … 231 232 <Filename Value="Compiler\Analyze\UParser.pas"/> 232 233 <UnitName Value="UParser"/> 233 <EditorIndex Value=" 8"/>234 <WindowIndex Value="0"/> 235 <TopLine Value=" 75"/>236 <CursorPos X="1 " Y="88"/>234 <EditorIndex Value="4"/> 235 <WindowIndex Value="0"/> 236 <TopLine Value="24"/> 237 <CursorPos X="19" Y="85"/> 237 238 <UsageCount Value="103"/> 238 239 <Loaded Value="True"/> … … 302 303 <Filename Value="Compiler\Produce\UProducerTreeView.pas"/> 303 304 <UnitName Value="UProducerTreeView"/> 304 <EditorIndex Value="4"/>305 305 <WindowIndex Value="0"/> 306 306 <TopLine Value="141"/> 307 307 <CursorPos X="81" Y="154"/> 308 <UsageCount Value="25"/> 309 <Loaded Value="True"/> 308 <UsageCount Value="24"/> 310 309 </Unit26> 311 310 <Unit27> … … 351 350 <Filename Value="Compiler\Produce\UProducerDynamicC.pas"/> 352 351 <UnitName Value="UProducerDynamicC"/> 353 <EditorIndex Value=" 3"/>352 <EditorIndex Value="1"/> 354 353 <WindowIndex Value="0"/> 355 354 <TopLine Value="270"/> … … 361 360 <Filename Value="Compiler\Produce\UProducerAsm8051.pas"/> 362 361 <UnitName Value="UProducerAsm8051"/> 363 <EditorIndex Value="5"/>364 362 <WindowIndex Value="0"/> 365 363 <TopLine Value="144"/> 366 364 <CursorPos X="56" Y="157"/> 367 <UsageCount Value="21"/> 368 <Loaded Value="True"/> 365 <UsageCount Value="20"/> 369 366 </Unit33> 370 367 <Unit34> 371 368 <Filename Value="Compiler\Produce\UProducerPascal.pas"/> 372 369 <UnitName Value="UProducerPascal"/> 373 <EditorIndex Value=" 6"/>370 <EditorIndex Value="2"/> 374 371 <WindowIndex Value="0"/> 375 372 <TopLine Value="301"/> … … 381 378 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 382 379 <UnitName Value="UPascalParser"/> 383 <IsVisibleTab Value="True"/>384 380 <EditorIndex Value="0"/> 385 381 <WindowIndex Value="0"/> 386 <TopLine Value=" 571"/>387 <CursorPos X=" 57" Y="579"/>388 <UsageCount Value="8 4"/>382 <TopLine Value="25"/> 383 <CursorPos X="66" Y="47"/> 384 <UsageCount Value="85"/> 389 385 <Loaded Value="True"/> 390 386 </Unit35> … … 448 444 <IsPartOfProject Value="True"/> 449 445 <UnitName Value="UDebugLog"/> 450 <EditorIndex Value="2"/>451 446 <WindowIndex Value="0"/> 452 447 <TopLine Value="36"/> 453 448 <CursorPos X="30" Y="50"/> 454 <UsageCount Value="75"/> 455 <Loaded Value="True"/> 449 <UsageCount Value="76"/> 456 450 <DefaultSyntaxHighlighter Value="Delphi"/> 457 451 </Unit43> … … 474 468 <Filename Value="Compiler\Produce\UProducerGCCC.pas"/> 475 469 <UnitName Value="UProducerGCCC"/> 476 <EditorIndex Value=" 9"/>470 <EditorIndex Value="5"/> 477 471 <WindowIndex Value="0"/> 478 472 <TopLine Value="270"/> 479 473 <CursorPos X="30" Y="278"/> 480 <UsageCount Value="1 5"/>474 <UsageCount Value="16"/> 481 475 <Loaded Value="True"/> 482 476 </Unit46> … … 484 478 <Filename Value="E:\Programy\Lazarus\fpc\2.4.3\source\packages\fcl-base\src\contnrs.pp"/> 485 479 <UnitName Value="contnrs"/> 486 <EditorIndex Value="1"/>487 480 <WindowIndex Value="0"/> 488 481 <TopLine Value="66"/> 489 482 <CursorPos X="14" Y="91"/> 490 483 <UsageCount Value="10"/> 491 <Loaded Value="True"/>492 484 </Unit47> 493 485 </Units> … … 495 487 <Position1> 496 488 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 497 <Caret Line=" 240" Column="1" TopLine="230"/>489 <Caret Line="14" Column="13" TopLine="1"/> 498 490 </Position1> 499 491 <Position2> 500 492 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 501 <Caret Line=" 241" Column="1" TopLine="230"/>493 <Caret Line="13" Column="17" TopLine="1"/> 502 494 </Position2> 503 495 <Position3> 504 496 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 505 <Caret Line="14" Column="1 2" TopLine="1"/>497 <Caret Line="14" Column="1" TopLine="1"/> 506 498 </Position3> 507 499 <Position4> 508 500 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 509 <Caret Line="1 7" Column="4" TopLine="1"/>501 <Caret Line="13" Column="22" TopLine="1"/> 510 502 </Position4> 511 503 <Position5> 512 504 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 513 <Caret Line=" 16" Column="15" TopLine="1"/>505 <Caret Line="575" Column="24" TopLine="559"/> 514 506 </Position5> 515 507 <Position6> 516 508 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 517 <Caret Line=" 14" Column="13" TopLine="1"/>509 <Caret Line="668" Column="6" TopLine="648"/> 518 510 </Position6> 519 511 <Position7> 520 512 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 521 <Caret Line=" 13" Column="17" TopLine="1"/>513 <Caret Line="446" Column="24" TopLine="439"/> 522 514 </Position7> 523 515 <Position8> 524 516 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 525 <Caret Line=" 14" Column="1" TopLine="1"/>517 <Caret Line="487" Column="28" TopLine="480"/> 526 518 </Position8> 527 519 <Position9> 528 520 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 529 <Caret Line=" 13" Column="22" TopLine="1"/>521 <Caret Line="575" Column="27" TopLine="560"/> 530 522 </Position9> 531 523 <Position10> 532 524 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 533 <Caret Line=" 575" Column="24" TopLine="559"/>525 <Caret Line="624" Column="29" TopLine="615"/> 534 526 </Position10> 535 527 <Position11> 536 528 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 537 <Caret Line="6 68" Column="6" TopLine="648"/>529 <Caret Line="612" Column="70" TopLine="599"/> 538 530 </Position11> 539 531 <Position12> 540 532 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 541 <Caret Line=" 446" Column="24" TopLine="439"/>533 <Caret Line="649" Column="38" TopLine="635"/> 542 534 </Position12> 543 535 <Position13> 544 536 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 545 <Caret Line=" 487" Column="28" TopLine="480"/>537 <Caret Line="627" Column="27" TopLine="623"/> 546 538 </Position13> 547 539 <Position14> 548 540 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 549 <Caret Line=" 575" Column="27" TopLine="560"/>541 <Caret Line="612" Column="63" TopLine="611"/> 550 542 </Position14> 551 543 <Position15> 552 544 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 553 <Caret Line=" 624" Column="29" TopLine="615"/>545 <Caret Line="36" Column="87" TopLine="24"/> 554 546 </Position15> 555 547 <Position16> 556 548 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 557 <Caret Line=" 612" Column="70" TopLine="599"/>549 <Caret Line="575" Column="24" TopLine="562"/> 558 550 </Position16> 559 551 <Position17> 560 552 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 561 <Caret Line="6 49" Column="38" TopLine="635"/>553 <Caret Line="613" Column="17" TopLine="609"/> 562 554 </Position17> 563 555 <Position18> 564 556 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 565 <Caret Line="6 27" Column="27" TopLine="623"/>557 <Caret Line="652" Column="41" TopLine="638"/> 566 558 </Position18> 567 559 <Position19> 568 <Filename Value="Compiler\ Analyze\UPascalParser.pas"/>569 <Caret Line=" 612" Column="63" TopLine="611"/>560 <Filename Value="Compiler\USourceCode.pas"/> 561 <Caret Line="273" Column="27" TopLine="260"/> 570 562 </Position19> 571 563 <Position20> 572 <Filename Value="Compiler\ Analyze\UPascalParser.pas"/>573 <Caret Line=" 36" Column="87" TopLine="24"/>564 <Filename Value="Compiler\USourceCode.pas"/> 565 <Caret Line="242" Column="37" TopLine="227"/> 574 566 </Position20> 575 567 <Position21> 576 <Filename Value="Compiler\ Analyze\UPascalParser.pas"/>577 <Caret Line=" 575" Column="24" TopLine="562"/>568 <Filename Value="Compiler\USourceCode.pas"/> 569 <Caret Line="237" Column="26" TopLine="224"/> 578 570 </Position21> 579 571 <Position22> 580 572 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 581 <Caret Line="6 13" Column="17" TopLine="609"/>573 <Caret Line="652" Column="41" TopLine="638"/> 582 574 </Position22> 583 575 <Position23> 584 576 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 585 <Caret Line="65 2" Column="41" TopLine="638"/>577 <Caret Line="656" Column="71" TopLine="641"/> 586 578 </Position23> 587 579 <Position24> 588 <Filename Value="Compiler\ USourceCode.pas"/>589 <Caret Line=" 273" Column="27" TopLine="260"/>580 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 581 <Caret Line="619" Column="1" TopLine="600"/> 590 582 </Position24> 591 583 <Position25> 592 <Filename Value="Compiler\ USourceCode.pas"/>593 <Caret Line=" 242" Column="37" TopLine="227"/>584 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 585 <Caret Line="471" Column="27" TopLine="463"/> 594 586 </Position25> 595 587 <Position26> 596 <Filename Value="Compiler\ USourceCode.pas"/>597 <Caret Line=" 237" Column="26" TopLine="224"/>588 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 589 <Caret Line="579" Column="28" TopLine="574"/> 598 590 </Position26> 599 591 <Position27> 600 592 <Filename Value="Compiler\Analyze\UPascalParser.pas"/> 601 <Caret Line=" 652" Column="41" TopLine="638"/>593 <Caret Line="47" Column="66" TopLine="25"/> 602 594 </Position27> 603 595 <Position28> 604 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>605 <Caret Line=" 656" Column="71" TopLine="641"/>596 <Filename Value="Forms\UMainForm.pas"/> 597 <Caret Line="267" Column="29" TopLine="255"/> 606 598 </Position28> 607 599 <Position29> 608 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>609 <Caret Line=" 619" Column="1" TopLine="600"/>600 <Filename Value="Forms\UMainForm.pas"/> 601 <Caret Line="268" Column="29" TopLine="256"/> 610 602 </Position29> 611 603 <Position30> 612 <Filename Value=" Compiler\Analyze\UPascalParser.pas"/>613 <Caret Line=" 471" Column="27" TopLine="463"/>604 <Filename Value="Forms\UMainForm.pas"/> 605 <Caret Line="269" Column="29" TopLine="257"/> 614 606 </Position30> 615 607 </JumpHistory>
Note:
See TracChangeset
for help on using the changeset viewer.