mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-28 11:17:46 +00:00
Properly deals with _BIT variables when $NoPrefix is active.
This commit is contained in:
parent
dd302b0b5f
commit
a6672058ff
1 changed files with 2 additions and 2 deletions
|
@ -8301,7 +8301,7 @@ FUNCTION idevariablewatchbox$(currentScope$, filter$, selectVar, returnAction)
|
||||||
varType$ = usedVariableList(tempIndex&).varType
|
varType$ = usedVariableList(tempIndex&).varType
|
||||||
tempVarType$ = varType$
|
tempVarType$ = varType$
|
||||||
IF INSTR(varType$, "STRING *") THEN tempVarType$ = "STRING"
|
IF INSTR(varType$, "STRING *") THEN tempVarType$ = "STRING"
|
||||||
IF INSTR(varType$, "_BIT *") THEN tempVarType$ = "_BIT"
|
IF INSTR(varType$, "BIT *") THEN tempVarType$ = "_BIT"
|
||||||
IF INSTR(nativeDataTypes$, tempVarType$) = 0 THEN
|
IF INSTR(nativeDataTypes$, tempVarType$) = 0 THEN
|
||||||
'It's a UDT
|
'It's a UDT
|
||||||
tempIsUDT& = -1
|
tempIsUDT& = -1
|
||||||
|
@ -8768,7 +8768,7 @@ FUNCTION idevariablewatchbox$(currentScope$, filter$, selectVar, returnAction)
|
||||||
|
|
||||||
varType$ = usedVariableList(varDlgList(y).index).varType
|
varType$ = usedVariableList(varDlgList(y).index).varType
|
||||||
IF INSTR(varType$, "STRING *") THEN varType$ = "STRING"
|
IF INSTR(varType$, "STRING *") THEN varType$ = "STRING"
|
||||||
IF INSTR(varType$, "_BIT *") THEN varType$ = "_BIT"
|
IF INSTR(varType$, "BIT *") THEN varType$ = "_BIT"
|
||||||
IF INSTR(nativeDataTypes$, varType$) = 0 THEN
|
IF INSTR(nativeDataTypes$, varType$) = 0 THEN
|
||||||
'It's a UDT
|
'It's a UDT
|
||||||
elementIndexes$ = ""
|
elementIndexes$ = ""
|
||||||
|
|
Loading…
Reference in a new issue