Mercurial > octave
view .editorconfig @ 33309:d422992b5483
refactor position tracking in the parser
This change replaces direct source line and column tracking in the
tree_* classes with the beginning and ending positions in tokens
created by the lexer. All line and column arguments for tree_*
constructors have been removed. More tree_* classes have been
modified to store tokens that are part of the syntax but not necessary
for evaluation.
Affected files: cdef-class.cc, ov-fcn.cc, ov-fcn.h, ov-usr-fcn.cc,
ov-usr-fcn.h, bp-table.cc, oct-parse.yy, parse.h, pt-arg-list.cc,
pt-arg-list.h, pt-args-block.h, pt-array-list.h, pt-assign.cc,
pt-assign.h, pt-binop.cc, pt-binop.h, pt-cbinop.cc, pt-cbinop.h,
pt-cell.cc, pt-cell.h, pt-classdef.cc, pt-classdef.h, pt-cmd.h,
pt-colon.cc, pt-colon.h, pt-const.cc, pt-const.h, pt-decl.cc,
pt-decl.h, pt-eval.cc, pt-except.h, pt-exp.h, pt-fcn-handle.cc,
pt-fcn-handle.h, pt-id.h, pt-idx.cc, pt-idx.h, pt-jump.h, pt-loop.h,
pt-mat.cc, pt-mat.h, pt-misc.h, pt-select.h, pt-spmd.h, pt-stmt.cc,
pt-stmt.h, pt-unop.cc, pt-unop.h, pt.cc, and pt.h.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Thu, 04 Apr 2024 00:58:56 -0400 |
parents | 640ee0d531d0 |
children |
line wrap: on
line source
root = true [*] charset = utf-8 end_of_line = lf indent_size = 2 indent_style = space insert_final_newline = true [*.{am,mk}] indent_size = tab indent_style = tab