forked from universal-ctags/ctags
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Close universal-ctags#2256. Signed-off-by: Masatake YAMATO <yamato@redhat.com>
- Loading branch information
Showing
4 changed files
with
58 additions
and
0 deletions.
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,8 @@ | ||
draw input.php /^ function draw($x) {$/;" f line:3 language:PHP roles:def | ||
nothing input.php /^ function nothing($x) {$/;" f line:31 language:PHP roles:def | ||
X input.php /^<html><head><title>X<\/title>$/;" j line:1 language:HTML roles:def | ||
My Home Page input.php /^ <title>My Home Page<\/title>$/;" j line:8 language:HTML roles:def | ||
css/general.css input.php /^ <link rel="stylesheet" href="css\/general.css" type="text\/css">$/;" C line:9 language:HTML roles:extFile | ||
stuff input.php /^ <h1>stuff<\/h1>$/;" h line:13 language:HTML roles:def | ||
f input.php /^ var f = function (n) {$/;" f line:21 language:JavaScript roles:def | ||
.blarg input.php /^.blarg {$/;" c line:26 language:CSS 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,34 @@ | ||
<html><head><title>X</title> | ||
<?php // This test input is derived from #2256 submitted by @StephenWall. | ||
function draw($x) { | ||
echo "$x"; | ||
} | ||
?> | ||
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1"> | ||
<title>My Home Page</title> | ||
<link rel="stylesheet" href="css/general.css" type="text/css"> | ||
<style type="text/css"></stylE> | ||
</head> | ||
<body> | ||
<h1>stuff</h1> | ||
<a href="/blah">nowhere</a> | ||
<?=draw('nowhere')?> | ||
<a href="/blech">somewhere</a> | ||
<?=draw('somewhere')?> | ||
</body> | ||
</html> | ||
<script> | ||
var f = function (n) { | ||
return n + 1; | ||
} | ||
</script> | ||
<style> | ||
.blarg { | ||
position: relative; | ||
} | ||
</style> | ||
<?php | ||
function nothing($x) { | ||
; | ||
} | ||
?> |
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