Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fbc: sf.net # 996: fix null pointer access checking for defined(udt.c…
…ast) fixed an internal null pointer access: type T field as long declare sub proc() end type #if defined( T.cast ) #endif Aborting due to runtime error 7 (null pointer access) at line 704 of src\compiler\parser-identifier.bas::CIDENTIFIERORUDTMEMBER()
- Loading branch information
Showing
8 changed files
with
166 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
T1 -- fields only | ||
T1.value defined | ||
T1.constructor not defined | ||
T1.constructor not defined | ||
T1.let not defined | ||
T1.cast not defined | ||
T2 -- fields and procedures | ||
value defined | ||
proc defined | ||
svalue defined | ||
sproc defined | ||
T2.value defined | ||
T2.proc defined | ||
T2.svalue defined | ||
T2.sproc defined | ||
T2.constructor not defined | ||
T2.constructor not defined | ||
T2.let not defined | ||
T2.cast not defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
T1 -- fields only | ||
T1.value defined | ||
T1.constructor not defined | ||
T1.constructor not defined | ||
T1.let not defined | ||
T1.cast not defined | ||
T2 -- fields and procedures | ||
value defined | ||
proc defined | ||
svalue defined | ||
sproc defined | ||
T2.value defined | ||
T2.proc defined | ||
T2.svalue defined | ||
T2.sproc defined | ||
T2.constructor not defined | ||
T2.constructor not defined | ||
T2.let not defined | ||
T2.cast not defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
T1 -- fields only | ||
T1.value defined | ||
T1.constructor not defined | ||
T1.constructor not defined | ||
T1.let not defined | ||
T1.cast not defined | ||
T2 -- fields and procedures | ||
value defined | ||
proc defined | ||
svalue defined | ||
sproc defined | ||
T2.value defined | ||
T2.proc defined | ||
T2.svalue defined | ||
T2.sproc defined | ||
T2.constructor not defined | ||
T2.constructor not defined | ||
T2.let not defined | ||
T2.cast not defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
T1 -- fields only | ||
T1.value defined | ||
T1.constructor not defined | ||
T1.constructor not defined | ||
T1.let not defined | ||
T1.cast not defined | ||
T2 -- fields and procedures | ||
value defined | ||
proc defined | ||
svalue defined | ||
sproc defined | ||
T2.value defined | ||
T2.proc defined | ||
T2.svalue defined | ||
T2.sproc defined | ||
T2.constructor not defined | ||
T2.constructor not defined | ||
T2.let not defined | ||
T2.cast not defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,19 @@ | ||
T1 -- fields only | ||
T1.value defined | ||
T1.constructor not defined | ||
T1.constructor not defined | ||
T1.let not defined | ||
T1.cast not defined | ||
T2 -- fields and procedures | ||
value defined | ||
proc defined | ||
svalue defined | ||
sproc defined | ||
T2.value defined | ||
T2.proc defined | ||
T2.svalue defined | ||
T2.sproc defined | ||
T2.constructor not defined | ||
T2.constructor not defined | ||
T2.let not defined | ||
T2.cast not defined |