Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(388)

Issue 6819050: Issue 2935: is_main_input_ should only be set by \maininput command (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by dak
Modified:
11 years, 6 months ago
Reviewers:
CC:
lilypond-devel_gnu.org
Base URL:
http://git.savannah.gnu.org/gitweb/?p=lilypond.git/trunk/
Visibility:
Public.

Description

Issue 2935: is_main_input_ should only be set by \maininput command is_main_input reflects the state of being in the reign of the main input file as opposed to the init file, which corresponds to a drop of privileges. This drop of privileges is explicitly signified with \maininput and should not otherwise be tampered with in order not to restrict the init file's capabilities. There should be no way to arrive at a lexer from within LilyPond or Scheme without is_main_input_ set unless one already has one such lexer to start with.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -3 lines) Patch
M lily/lexer.ll View 1 chunk +1 line, -1 line 0 comments Download
M lily/lily-parser.cc View 2 chunks +0 lines, -2 lines 0 comments Download

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b