Norayr Chilingarian
851aadcaf4
fixing compiler crash on dynamic array to static array assignment
...
the crash was introduced in aed9134e : when the rhs of an array assignment
is a pointer-dereferenced dynamic array (e.g. s^), the rhs node has no
named obj, so obj is nil. the dynArr branch in OPV was calling OPC.Len
which dereferences obj immediately, causing a segfault in the compiler.
OPV already has a Len() procedure that handles Nderef nodes by generating
ptr->len[dim] instead of relying on a named obj. switching to that call
fixes the crash and generates correct bounds-checked C code.
removing the err(113) workaround in OPB.CheckAssign that was suppressing
the crash by rejecting valid oberon-07 assignments.
fixes issue #55 .
2026-07-09 23:16:59 +04:00
Norayr Chilingarian
7ffdb0859b
fixed bug in function description(comment).
2026-05-06 20:28:02 +04:00
Norayr Chilingarian
65baeb77a9
Merge pull request #113 from robdaemon/fix-gcc-15
...
Fixes build problems on gcc 15
2026-02-04 12:51:31 +04:00
Robert Roland
9fce469f23
Fixes build problems on gcc 15
...
GCC 15 changes the C language standard to gnu23, and VOC compiles just fine on gnu11.
Tested against GCC 15 and GCC 14.
2026-02-03 17:43:38 -08:00
Norayr Chilingarian
84516b2ac6
prevents orphaned or misplaced comments from being written to symbol
...
files.
2025-07-19 05:56:37 +04:00
Norayr Chilingarian
a517a42357
comments length increased, multiline comments are also now possible.
2025-07-19 05:48:27 +04:00
Norayr Chilingarian
50b5a1438e
better handling of faulty symbol files. ethStrings comments fixed.
2025-07-19 05:13:09 +04:00
Norayr Chilingarian
fa9e73f7af
adapted Base64 file from Oberon S3.
2025-07-10 23:08:59 +04:00
Norayr Chilingarian
a9465ccfc6
bootstrap sources.
2025-06-24 18:27:35 +04:00
Norayr Chilingarian
dac6504f12
comments in symbol files, viewable by showdef browser.
2025-06-24 17:44:19 +04:00
Norayr Chilingarian
2f1ce08aff
should fix type-bound procedure name mismatch between calls and definitions
2025-06-14 17:12:48 +04:00
Carlos Une
28c327be28
Math, MathL: add procedure fcmp
2025-05-08 15:48:46 +04:00
Norayr Chilingarian
94683df1d8
Merge pull request #111 from InnaKhachikyan/master
...
modified Index checking to handle run-time variable index containing …
2025-04-23 02:46:44 +04:00
Inna Khachikyan
f0e92c7434
modified Index checking to handle run-time variable index containing negative value
2025-04-17 23:44:56 +04:00
Norayr Chilingarian
71488ffe85
Merge pull request #110 from rbmk-plus/master
...
add ctags, fix dead links, and other minor fixes
2025-04-04 18:13:57 +00:00
sevoves
378de43274
rewording doc/ctags.md
2025-04-04 22:00:31 +04:00
sevoves
1fbbb68dc7
rewording ctags doc
2025-04-04 21:56:16 +04:00
sevoves
9846292b85
minor changes in docs
2025-04-04 21:51:30 +04:00
sevoves
bb7a731197
small change in ctags.md
2025-04-04 21:44:46 +04:00
sevoves
7dafb02d1e
add ctags doc
2025-04-04 21:40:59 +04:00
sevoves
5e52f8c231
add ctags doc and remove comments from oberon.ctags
2025-04-04 21:39:45 +04:00
sevoves
e298d10d99
rewording in configure.c
2025-04-04 15:43:44 +04:00
sevoves
3460b9f78a
create macros for ignoring flood warnings
2025-04-04 15:37:41 +04:00
sevoves
089ca94207
remove scope pop in ctag since file is the scope
2025-04-04 00:38:41 +04:00
sevoves
b12029e3ed
remove warning floods for MinGW compiler
2025-04-03 22:26:20 +04:00
sevoves
cd06cd32b1
ignore common warnings in gcc and clang
2025-04-03 22:09:20 +04:00
sevoves
7691293a5b
replace egrep with grep -E for less warnings
2025-04-03 21:05:42 +04:00
sevoves
d005317424
address more caveats in oberon.ctags
2025-04-03 20:57:00 +04:00
sevoves
a25b44ae21
exclude all confidence test files without extension except expect
2025-04-03 20:38:12 +04:00
sevoves
e64d4c4d44
add test binaries to .gitignore
2025-04-03 20:14:24 +04:00
sevoves
ac82959092
add stuff to .gitignore
2025-04-03 20:05:37 +04:00
sevoves
cb098d448d
update deaed links in ReadMe
2025-04-03 19:20:01 +04:00
sevoves
9e9bbe7581
fix empty link in ReadMe
2025-04-03 19:00:09 +04:00
sevoves
9084ca288b
rewording ceveats on oberon.ctags
2025-04-03 16:29:13 +04:00
sevoves
233761e7fa
more matches
2025-04-03 08:16:27 +04:00
sevoves
e936f7d7b0
fix typo in ReadMe
2025-04-03 07:52:59 +04:00
sevoves
c4f3792047
add ctags
2025-04-03 07:52:22 +04:00
Norayr Chilingarian
812b3a56d6
Merge pull request #106 from tkurtbond/openbsdinstallfailsldconfig
...
Don't try to uninstall the shared libraries unless the directory exists.
2025-03-13 16:19:38 +04:00
Norayr Chilingarian
764e018de2
Merge pull request #108 from pascalecu/feat/netbsd
...
feat: add netbsd support (#107 )
2025-03-13 16:17:37 +04:00
Ștefan-Iulian Alecu
b22fc3fd3f
feat: add netbsd support in configure.c
2025-03-12 02:07:15 +02:00
Norayr Chilingarian
2178fa7b18
now test server can listen on any ipv4 address.
2025-02-21 04:52:54 +04:00
Norayr Chilingarian
e36e862c8c
Revert "now test server can listen on any ipv4 address."
...
This reverts commit afe5a2d824 .
2025-02-21 04:52:20 +04:00
Norayr Chilingarian
afe5a2d824
now test server can listen on any ipv4 address.
2025-02-21 04:48:39 +04:00
T. Kurt Bond
7d14452a51
Don't try to uninstall the shared libraries unless the directory exists.
...
Otherwise it fails on OpenBSD during the first installation with:
ldconfig: /usr/local/sw/versions/voc/git/lib: No such file or directory
2025-01-17 08:10:47 -05:00
Norayr Chilingarian
8d2d479664
unix nil check won't prevent windows builds.
2024-08-23 13:51:15 +04:00
9292b2a7d5
Merge pull request #102 from antranigv/master
...
set language to Oberon
2024-05-11 21:44:48 +04:00
Antranig Vartanian
e189882af8
set language to Oberon
2024-05-11 21:43:22 +04:00
Norayr Chilingarian
48741af5ac
Merge pull request #101 from vishaps/catching_segfault
...
now "NIL access" error in Modules.Mod indeed works.
2024-04-13 05:13:38 +04:00
Norayr Chilingarian
7fb61a066b
now "NIL access" error in Modules.Mod indeed works.
2024-04-13 04:14:18 +04:00
Norayr Chilingarian
7ea99e20a0
fixed crash introduced in commit aed9134e99
...
see comments in OPB.Mod
2024-04-12 21:52:25 +04:00