Package: nano
Version: 8.4-1
Severity: minor

Some code (mame for example) is using this style of comments
where using //***** as separators ; nano is parsing  //* as multi-line comment
instead of one-line-comment, sow code highlighting is broken.

This is a simple c file for example

//***********************
// A nice extended comment
//***********************

int b = 20;

/* comment */

int main(){
    b += 40; //* new comment 
    return b;
}

<EOF>


-- System Information:
Debian Release: trixie/sid
  APT prefers testing-security
  APT policy: (500, 'testing-security'), (500, 'stable-security'), (500, 
'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, armel, arm64

Kernel: Linux 6.12.9-amd64 (SMP w/4 CPU threads; PREEMPT)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, 
TAINT_UNSIGNED_MODULE
Locale: LANG=es_UY.UTF-8, LC_CTYPE=es_UY.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages nano depends on:
ii  libc6         2.40-5
ii  libncursesw6  6.5-2+b1
ii  libtinfo6     6.5-2+b1

nano recommends no packages.

Versions of packages nano suggests:
pn  hunspell  <none>

-- no debconf information

Reply via email to