Skip to content

Commit

Permalink
Minor comment improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesstaats committed Jan 22, 2025
1 parent 6434f9a commit bf139c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion dec.h
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ class runnable : public absyn {
virtual bool returns()
{ return false; }

// Returns true if it is syntatically allowable to modify this
// Returns true if it is syntactically allowable to modify this
// runnable by a PUBLIC or PRIVATE modifier.
virtual bool allowPermissions()
{ return false; }
Expand Down
1 change: 1 addition & 0 deletions fundec.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ class formals : public absyn {
//friend class funheader;
mem::list<formal *> fields;
public:
// NOTE: Iterators do NOT include the rest parameter.
auto begin() { return fields.begin(); }
auto end() { return fields.end(); }
auto rbegin() { return fields.rbegin(); }
Expand Down

0 comments on commit bf139c1

Please sign in to comment.