mirror of
https://github.com/github/codeql.git
synced 2026-05-05 13:45:19 +02:00
Merge branch 'main' into experimental-manually-check-request-verb
This commit is contained in:
@@ -1762,6 +1762,12 @@ escape_sequences/escapes.rb:
|
||||
# 93| getStmt: [SymbolLiteral] :"\C-?"
|
||||
# 93| getComponent: [StringEscapeSequenceComponent] \C
|
||||
# 93| getComponent: [StringTextComponent] -?
|
||||
misc/iso-8859-15.rb:
|
||||
# 1| [Toplevel] iso-8859-15.rb
|
||||
# 4| getStmt: [MethodCall] call to print
|
||||
# 4| getReceiver: [SelfVariableAccess] self
|
||||
# 4| getArgument: [StringLiteral] "EUR = €"
|
||||
# 4| getComponent: [StringTextComponent] EUR = €
|
||||
literals/literals.rb:
|
||||
# 1| [Toplevel] literals.rb
|
||||
# 2| getStmt: [NilLiteral] nil
|
||||
|
||||
@@ -4604,6 +4604,17 @@ literals/literals.rb:
|
||||
# 193| cat file.txt
|
||||
# 193|
|
||||
# 195| 1: [HeredocEnd] SCRIPT
|
||||
misc/iso-8859-15.rb:
|
||||
# 1| [Program] Program
|
||||
# 4| 0: [Call] Call
|
||||
# 4| 0: [Identifier] print
|
||||
# 4| 1: [ArgumentList] ArgumentList
|
||||
# 4| 0: [String] String
|
||||
# 4| 0: [ReservedWord] "
|
||||
# 4| 1: [StringContent] EUR = €
|
||||
# 4| 2: [ReservedWord] "
|
||||
# 1| [Comment] #! /usr/bin/ruby
|
||||
# 2| [Comment] # coding: iso-8859-15
|
||||
misc/misc.erb:
|
||||
# 2| [Program] Program
|
||||
# 2| 0: [Call] Call
|
||||
|
||||
@@ -717,6 +717,7 @@ exprValue
|
||||
| literals/literals.rb:198:8:198:8 | 5 | 5 | int |
|
||||
| literals/literals.rb:199:2:199:2 | :y | :y | symbol |
|
||||
| literals/literals.rb:199:7:199:7 | :Z | :Z | symbol |
|
||||
| misc/iso-8859-15.rb:4:7:4:17 | "EUR = \u20ac" | EUR = \u20ac | string |
|
||||
| misc/misc.erb:2:15:2:37 | "main_include_admin.js" | main_include_admin.js | string |
|
||||
| misc/misc.rb:1:7:1:11 | "bar" | bar | string |
|
||||
| misc/misc.rb:3:7:3:9 | foo | foo | string |
|
||||
@@ -1592,6 +1593,7 @@ exprCfgNodeValue
|
||||
| literals/literals.rb:198:8:198:8 | 5 | 5 | int |
|
||||
| literals/literals.rb:199:2:199:2 | :y | :y | symbol |
|
||||
| literals/literals.rb:199:7:199:7 | :Z | :Z | symbol |
|
||||
| misc/iso-8859-15.rb:4:7:4:17 | "EUR = \u20ac" | EUR = \u20ac | string |
|
||||
| misc/misc.erb:2:15:2:37 | "main_include_admin.js" | main_include_admin.js | string |
|
||||
| misc/misc.rb:1:7:1:11 | "bar" | bar | string |
|
||||
| misc/misc.rb:3:7:3:9 | foo | foo | string |
|
||||
|
||||
4
ruby/ql/test/library-tests/ast/misc/iso-8859-15.rb
Normal file
4
ruby/ql/test/library-tests/ast/misc/iso-8859-15.rb
Normal file
@@ -0,0 +1,4 @@
|
||||
#! /usr/bin/ruby
|
||||
# coding: iso-8859-15
|
||||
|
||||
print "EUR = <20>"
|
||||
Reference in New Issue
Block a user