-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix promises at EOF #4097
Open
b4n
wants to merge
2
commits into
universal-ctags:master
Choose a base branch
from
b4n:eof-promise
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Fix promises at EOF #4097
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
--sort=no | ||
--extras=+rg | ||
--fields=+rln |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
top input.php /^<div id="top">$/;" I line:3 language:HTML roles:def | ||
inner input.php /^ <div class="inner">$/;" c line:4 language:HTML roles:attribute | ||
logo input.php /^<div id="logo">$/;" I line:6 language:HTML roles:def | ||
pages input.php /^<div id="pages">$/;" I line:12 language:HTML roles:def | ||
menubar input.php /^<ul class="menubar" id="menubar">$/;" c line:13 language:HTML roles:attribute | ||
menubar input.php /^<ul class="menubar" id="menubar">$/;" I line:13 language:HTML roles:def | ||
body input.php /^<div id="body">$/;" I line:26 language:HTML roles:def | ||
content input.php /^ <main id="content">$/;" I line:27 language:HTML roles:def | ||
post input.php /^ <article class="post" id="post-<?p/;" c line:31 language:HTML roles:attribute | ||
post-<?p input.php /^ <article class="post" id="post-<?p/;" I line:31 language:HTML roles:def | ||
storybody input.php /^ <div class="storybody"><br \/><?p/;" c line:37 language:HTML roles:attribute | ||
postmetadata input.php /^ <p class="postmetadata"><\/p>$/;" c line:38 language:HTML roles:attribute | ||
storybody input.php /^ <div class="storybody"><?p/;" c line:41 language:HTML roles:attribute | ||
left input.php /^ <aside id="left"><?p/;" I line:52 language:HTML roles:def |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?php get_header(); ?> | ||
|
||
<div id="top"> | ||
<div class="inner"> | ||
<br clear="all" /> | ||
<div id="logo"> | ||
<h2><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h2> | ||
<p> | ||
<?php bloginfo('description'); ?> | ||
</p> | ||
</div> | ||
<div id="pages"> | ||
<ul class="menubar" id="menubar"> | ||
<li><a href="<?php bloginfo('url'); ?>">Accueil</a></li> | ||
<?php montheme_list_pages( array( 'depth' => 1 ) ); ?> | ||
</ul> | ||
<!--[if !IE]><--> | ||
<script type="text/javascript"> | ||
initMenu (document.getElementById ('menubar'), 0); | ||
</script> | ||
<!--><![endif]--> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<div id="body"> | ||
<main id="content"> | ||
|
||
<?php if (have_posts()) : while (have_posts()) : the_post(); ?><br /><br /> | ||
|
||
<article class="post" id="post-<?php the_ID(); ?>"> | ||
|
||
<div class="storycontent"> | ||
|
||
<h3><a href="<?php the_permalink() ?>" rel="bookmark"><?php the_title(); ?></a></h3> | ||
|
||
<div class="storybody"><br /><?php the_content(__('(more...)')); ?></div> | ||
<p class="postmetadata"></p> | ||
|
||
</div> | ||
<div class="storybody"><?php comments_template(); // Get wp-comments.php template ?></div> | ||
</article> | ||
|
||
|
||
<?php endwhile; else: ?> | ||
<p><?php _e('Sorry, no posts matched your criteria.'); ?></p> | ||
<?php endif; ?> | ||
|
||
<?php posts_nav_link(' — ', __('« Previous Page'), __('Next Page »')); ?> | ||
|
||
</main> | ||
<aside id="left"><?php get_sidebar(); ?></aside> | ||
</div> | ||
|
||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a follow-up to fix the HTML promise range from the PHP lexer to fix this spurious
<?p
, but it currently depends on these changes so I'll post it after this is sorted out (no pressure, just saying that indeed, this tag is not exactly as it should be).There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you paste this comment into the commit log for this commit?
So people can understand this commit from its log only with 'git log'.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If you want, but I'm not sure its so important to specify in the commit, it's just a note for review that it's not to be worried about, but I don't think it undermines the patch much.
Another option could be removing this line from the test case and add a new one for the other patch, I merely kept it like this because it's a "real" file and made me notice the issue.
Anyway, I can do either just fine, as you prefer :)