Mercurial > emacs
view test/cedet/tests/testnsp.cpp @ 110066:5ef877197e04
Remove old indentation and navigation code on octave-mode.
* lisp/progmodes/octave-mod.el (octave-mode-map): Remap down-list to
smie-down-list rather than add a binding for octave-down-block.
(octave-mark-block, octave-blink-matching-block-open):
Rely on forward-sexp-function.
(octave-fill-paragraph): Don't narrow, so you can use
indent-according-to-mode.
(octave-block-begin-regexp, octave-block-begin-or-end-regexp): Remove.
(octave-in-block-p, octave-re-search-forward-kw)
(octave-re-search-backward-kw, octave-indent-calculate)
(octave-end-as-array-index-p, octave-block-end-offset)
(octave-scan-blocks, octave-forward-block, octave-backward-block)
(octave-down-block, octave-backward-up-block, octave-up-block)
(octave-before-magic-comment-p, octave-indent-line): Remove.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Tue, 31 Aug 2010 14:13:51 +0200 |
parents | 7f4c7f5c0eba |
children | ef719132ddfa |
line wrap: on
line source
// Test NSP (Name space parent) // // Test dereferencing parents based on local parent scope. // // Derived from data David Engster provided. namespace nsp { class rootclass { public: int fromroot() {}; }; } namespace nsp { class childclass : public rootclass { public: int fromchild() {}; }; } void myfcn_not_in_ns (void) { nsp::childclass test; test.// -1- ; // #1# ( "fromchild" "fromroot" ) } // arch-tag: 2e9c6bf7-1574-440f-ba66-5c8fe034cdec