Skip to content

Instantly share code, notes, and snippets.

@mvidalgarcia
Last active October 27, 2015 18:06
Show Gist options
  • Save mvidalgarcia/4cf8f80ceebe2f5bc6d7 to your computer and use it in GitHub Desktop.
Save mvidalgarcia/4cf8f80ceebe2f5bc6d7 to your computer and use it in GitHub Desktop.
Line: 4, column: 1, token: 261, semantic value: int
Line: 4, column: 5, token: 274, semantic value: i
Line: 4, column: 6, token: 44, semantic value: ,
Line: 4, column: 7, token: 274, semantic value: j
Line: 4, column: 8, token: 59, semantic value: ;
Line: 6, column: 1, token: 261, semantic value: int
Line: 6, column: 5, token: 274, semantic value: f
Line: 6, column: 6, token: 40, semantic value: (
Line: 6, column: 7, token: 261, semantic value: int
Line: 6, column: 11, token: 274, semantic value: a
Line: 6, column: 12, token: 41, semantic value: )
Line: 6, column: 14, token: 123, semantic value: {
Line: 7, column: 2, token: 266, semantic value: return
Line: 7, column: 9, token: 274, semantic value: a
Line: 7, column: 10, token: 59, semantic value: ;
Line: 8, column: 1, token: 125, semantic value: }
Line: 10, column: 1, token: 260, semantic value: void
Line: 10, column: 6, token: 259, semantic value: main
Line: 10, column: 10, token: 40, semantic value: (
Line: 10, column: 11, token: 41, semantic value: )
Line: 10, column: 13, token: 123, semantic value: {
Line: 11, column: 2, token: 261, semantic value: int
Line: 11, column: 6, token: 274, semantic value: i
Line: 11, column: 7, token: 44, semantic value: ,
Line: 11, column: 8, token: 274, semantic value: b
Line: 11, column: 9, token: 59, semantic value: ;
Line: 12, column: 2, token: 262, semantic value: double
Line: 12, column: 9, token: 274, semantic value: r
Line: 12, column: 10, token: 59, semantic value: ;
Line: 13, column: 2, token: 263, semantic value: char
Line: 13, column: 7, token: 274, semantic value: c
Line: 13, column: 8, token: 59, semantic value: ;
Line: 14, column: 2, token: 261, semantic value: int
Line: 14, column: 5, token: 91, semantic value: [
Line: 14, column: 6, token: 257, semantic value: 10
Line: 14, column: 8, token: 93, semantic value: ]
Line: 14, column: 10, token: 274, semantic value: v
Line: 14, column: 11, token: 59, semantic value: ;
Line: 16, column: 2, token: 274, semantic value: i
Line: 16, column: 4, token: 61, semantic value: =
Line: 16, column: 6, token: 257, semantic value: 1
Line: 16, column: 7, token: 59, semantic value: ;
Line: 17, column: 2, token: 274, semantic value: r
Line: 17, column: 4, token: 61, semantic value: =
Line: 17, column: 6, token: 275, semantic value: 12.3
Line: 17, column: 11, token: 45, semantic value: -
Line: 17, column: 13, token: 275, semantic value: 0.03412
Line: 17, column: 22, token: 42, semantic value: *
Line: 17, column: 24, token: 275, semantic value: 2.0
Line: 17, column: 27, token: 43, semantic value: +
Line: 17, column: 29, token: 275, semantic value: 3000.0
Line: 17, column: 32, token: 59, semantic value: ;
Line: 18, column: 2, token: 274, semantic value: c
Line: 18, column: 4, token: 61, semantic value: =
Line: 18, column: 6, token: 258, semantic value: ~
Line: 18, column: 12, token: 59, semantic value: ;
Line: 20, column: 2, token: 274, semantic value: b
Line: 20, column: 4, token: 61, semantic value: =
Line: 20, column: 6, token: 274, semantic value: v
Line: 20, column: 7, token: 91, semantic value: [
Line: 20, column: 8, token: 257, semantic value: 2
Line: 20, column: 9, token: 93, semantic value: ]
Line: 20, column: 10, token: 59, semantic value: ;
Line: 21, column: 2, token: 264, semantic value: if
Line: 21, column: 5, token: 40, semantic value: (
Line: 21, column: 6, token: 257, semantic value: 1
Line: 21, column: 8, token: 271, semantic value: &&
Line: 21, column: 11, token: 257, semantic value: 2
Line: 21, column: 13, token: 272, semantic value: ||
Line: 21, column: 16, token: 33, semantic value: !
Line: 21, column: 17, token: 257, semantic value: 0
Line: 21, column: 18, token: 41, semantic value: )
Line: 21, column: 20, token: 123, semantic value: {
Line: 22, column: 3, token: 274, semantic value: i
Line: 22, column: 5, token: 61, semantic value: =
Line: 22, column: 7, token: 274, semantic value: b
Line: 22, column: 8, token: 59, semantic value: ;
Line: 23, column: 2, token: 125, semantic value: }
Line: 25, column: 2, token: 275, semantic value: while
Line: 25, column: 8, token: 40, semantic value: (
Line: 25, column: 9, token: 274, semantic value: i
Line: 25, column: 10, token: 60, semantic value: <
Line: 25, column: 11, token: 257, semantic value: 10
Line: 25, column: 13, token: 41, semantic value: )
Line: 25, column: 15, token: 123, semantic value: {
Line: 26, column: 6, token: 274, semantic value: i
Line: 26, column: 7, token: 61, semantic value: =
Line: 26, column: 8, token: 274, semantic value: i
Line: 26, column: 9, token: 43, semantic value: +
Line: 26, column: 10, token: 257, semantic value: 1
Line: 26, column: 11, token: 59, semantic value: ;
Line: 27, column: 6, token: 274, semantic value: j
Line: 27, column: 7, token: 61, semantic value: =
Line: 27, column: 8, token: 274, semantic value: i
Line: 27, column: 9, token: 59, semantic value: ;
Line: 28, column: 4, token: 125, semantic value: }
Line: 29, column: 1, token: 125, semantic value: }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment