|
From: | Dmitry Gutov |
Subject: | bug#47488: Treatment of # in js.el |
Date: | Tue, 30 Mar 2021 03:50:09 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1 |
Is this just because the code was originally based on cc-mode or something, and the references to hash were never removed? Or was cpp used with early JavaScript?? I see references such as js--opt-cpp-start which says "Regexp matching the prefix of a cpp directive", and a match for "#define" in js--update-quick-match-re.
IIRC this was related to the use of the C preprocessor in some JS codebases (Mozilla?). Not sure if that practice stopped.
[Prev in Thread] | Current Thread | [Next in Thread] |